Class SnapshotMeta

java.lang.Object
org.gridgain.internal.snapshots.meta.SnapshotMeta

public class SnapshotMeta extends Object
Represents Snapshot Meta information which is saved in a separate file during snapshot creation (in JSON format).
  • 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, null for Full Snapshot.
      chunkSize - The size of the chunk in bytes which should be used to process the snapshot content.
  • Method Details