Class PartGeneration
java.lang.Object
net.bluemind.dataprotect.api.PartGeneration
A generation is a point-in-time snapshot, de-duplicated and compressed of
some data.
A generation is referenced by a
ProtectedPart which are tied together
in a DataProtectGeneration to represent a complete backup.-
Field Summary
FieldsModifier and TypeFieldDescriptionintintlongbooleanboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PartGenerationbooleaninthashCode()toString()voidvalidate()
-
Field Details
-
id
public int id -
generationId
public int generationId -
begin
-
end
-
size
public long size -
tag
-
server
-
withWarnings
public boolean withWarnings -
withErrors
public boolean withErrors -
valid
-
datatype
-
-
Constructor Details
-
PartGeneration
public PartGeneration()
-
-
Method Details
-
toString
-
hashCode
-
equals
-
validate
public void validate()DerivesvalidfromwithErrors/withWarnings.Only call this on a part freshly produced by a backup worker, while both booleans still hold the outcome of the run. They have no column in
t_dp_partgeneration, so a part re-read from SQL always carriesfalse/falseand calling this on it silently resets a storedINVALIDorUNKNOWNback toVALID. -
create
-
getWorkerDataType
-