Class DataProtectGeneration
java.lang.Object
net.bluemind.dataprotect.api.DataProtectGeneration
This class represents a generation of protected Blue Mind data.
A
DataProtectGeneration records when your data was protected, the
Blue Mind version and all the ProtectedParts of the Blue Mind
infrastructure at this point in time.-
Field Summary
FieldsModifier and TypeFieldDescriptionnet.bluemind.core.api.VersionInfointbooleanDeprecated.booleanDeprecated.never populated from the actual validity ofparts(unlikePartGeneration.withWarnings, actively written by each backup worker). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
public int id -
protectionTime
-
blueMind
public net.bluemind.core.api.VersionInfo blueMind -
withWarnings
Deprecated.never populated from the actual validity ofparts(unlikePartGeneration.withWarnings, actively written by each backup worker). The only writer isDataProtectGenerationStore.verifyGeneration(), which setswithErrorson a SQL read exception duringrewriteGenerations(), unrelated to part validity. UsehasErrors()to know whether a generation is actually erroneous. -
withErrors
Deprecated.seewithWarnings. UsehasErrors()instead. -
parts
-
-
Constructor Details
-
DataProtectGeneration
public DataProtectGeneration()
-
-
Method Details
-
toString
-
hashCode
-
equals
-
valid
public boolean valid() -
hasErrors
public boolean hasErrors()A generation is considered erroneous if it has no part at all, or if at least one of its parts failed outright (GenerationStatus.INVALID). A part with only warnings (GenerationStatus.UNKNOWN) does not make the whole generation erroneous.
-
withWarnings.