Class SnapshotMeta
java.lang.Object
org.gridgain.internal.snapshots.meta.SnapshotMeta
Represents Snapshot Meta information which is saved in a separate file during snapshot creation (in JSON format).
-
Constructor Summary
ConstructorsConstructorDescriptionSnapshotMeta(UUID snapshotId, long creationTimestamp, Collection<String> nodeNames, Collection<TableSnapshotMeta> tableSnapshotMetas, @Nullable Collection<StructureView> structureDescriptors, Collection<ZoneDescriptorView> zoneDescriptors, @Nullable UUID parentSnapshotId, int chunkSize, @Nullable SnapshotEncryptionMeta encryption) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionintlong@Nullable SnapshotEncryptionMeta@Nullable UUID@Nullable Collection<StructureView>
-
Constructor Details
-
SnapshotMeta
public SnapshotMeta(UUID snapshotId, long creationTimestamp, Collection<String> nodeNames, Collection<TableSnapshotMeta> tableSnapshotMetas, @Nullable @Nullable Collection<StructureView> structureDescriptors, Collection<ZoneDescriptorView> zoneDescriptors, @Nullable @Nullable UUID parentSnapshotId, int chunkSize, @Nullable @Nullable SnapshotEncryptionMeta encryption) Constructor.Also used during JSON de-serialization.
- Parameters:
snapshotId- ID of the Snapshot.creationTimestamp- Start time of creating a Snapshot.nodeNames- Collection of node names that participated in creating this Snapshot.tableSnapshotMetas- Collection of Table Snapshot Metas which took part in creating a Snapshot.structureDescriptors- Collection of structure descriptors (maps, sequences) which took part in creating a Snapshot.zoneDescriptors- Collection of Zone Descriptors that are referenced by the Table Metas.parentSnapshotId- ID of the Parent Snapshot for Incremental Snapshot,nullfor Full Snapshot.chunkSize- The size of the chunk in bytes which should be used to process the snapshot content.
-
-
Method Details
-
creationTimestamp
public long creationTimestamp() -
nodeNames
-
zoneDescriptors
-
tableSnapshotMetas
-
structureDescriptors
-
parentSnapshotId
-
snapshotId
-
chunkSize
public int chunkSize() -
encryption
-