Class CreateSnapshotGlobalState
java.lang.Object
org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotState
org.gridgain.internal.snapshots.communication.metastorage.CreateSnapshotGlobalState
Represents a Global Snapshot State, that is, state of the whole Snapshot operation (used during Snapshot creation).
Global State is generated and updated only by the Snapshot Coordinator and serves as a single point of truth and aggregation for all Local States.
-
Constructor Summary
ConstructorsConstructorDescriptionCreateSnapshotGlobalState(UUID operationId, SnapshotStatus status, Set<String> nodeNames, Instant startTime, Set<Integer> tableIds, Set<org.apache.ignite.table.QualifiedName> tableNames, Set<org.apache.ignite.table.QualifiedName> structureNames, Set<Integer> structureIds, org.apache.ignite.internal.hlc.HybridTimestamp fromTimestamp, org.apache.ignite.internal.hlc.HybridTimestamp timestamp, String description, @Nullable UUID parentSnapshotId, Set<UUID> dependentSnapshotIds, SnapshotUri destination, @Nullable String encryptionProviderName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionIDs of Incremental Snapshots which are based on this Snapshot.@Nullable Stringorg.apache.ignite.internal.hlc.HybridTimestampInclusive lower bound of Snapshot interval.@Nullable UUIDID of the Parent Snapshot for Incremental Snapshot,nullfor Full Snapshot.Snapshot ID.Set<org.apache.ignite.table.QualifiedName>Names of structures that participate in the Snapshot Operation.tableIds()IDs of tables that participate in the Snapshot Operation.Set<org.apache.ignite.table.QualifiedName>Names of tables that participate in the Snapshot Operation.org.apache.ignite.internal.hlc.HybridTimestampInclusive upper bound of Snapshot interval.toString()Methods inherited from class org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotState
description, force, nodeNames, operationId, snapshotUri, startTime, status
-
Constructor Details
-
CreateSnapshotGlobalState
public CreateSnapshotGlobalState(UUID operationId, SnapshotStatus status, Set<String> nodeNames, Instant startTime, Set<Integer> tableIds, Set<org.apache.ignite.table.QualifiedName> tableNames, Set<org.apache.ignite.table.QualifiedName> structureNames, Set<Integer> structureIds, org.apache.ignite.internal.hlc.HybridTimestamp fromTimestamp, org.apache.ignite.internal.hlc.HybridTimestamp timestamp, String description, @Nullable @Nullable UUID parentSnapshotId, Set<UUID> dependentSnapshotIds, SnapshotUri destination, @Nullable @Nullable String encryptionProviderName) Constructor.- Parameters:
operationId- Operation Id.status- Status of the Snapshot Operation.nodeNames- Names of nodes that participate in the Snapshot Operation.tableIds- IDs of tables that participate in the Snapshot Operation.tableNames- Names of tables that participate in the Snapshot Operation.structureIds- IDs of structures that participate in the Snapshot Operation.fromTimestamp- Inclusive lower bound of Snapshot interval for Incremental Snapshots, orHybridTimestamp.MIN_VALUEfor Full Snapshots.timestamp- Inclusive upper bound of Snapshot interval.description- Description of the Operation.parentSnapshotId- ID of the Parent Snapshot for Incremental Snapshots,nullfor Full Snapshots.dependentSnapshotIds- IDs of Incremental Snapshots which are based on this Snapshotdestination- Destination of the snapshot.
-
-
Method Details
-
snapshotId
Snapshot ID. -
tableIds
IDs of tables that participate in the Snapshot Operation. -
tableNames
Names of tables that participate in the Snapshot Operation.- Overrides:
tableNamesin classGlobalSnapshotState
-
structureNames
Names of structures that participate in the Snapshot Operation.- Overrides:
structureNamesin classGlobalSnapshotState
-
structureIds
-
fromTimestamp
public org.apache.ignite.internal.hlc.HybridTimestamp fromTimestamp()Inclusive lower bound of Snapshot interval. -
timestamp
public org.apache.ignite.internal.hlc.HybridTimestamp timestamp()Inclusive upper bound of Snapshot interval. -
parentSnapshotId
ID of the Parent Snapshot for Incremental Snapshot,nullfor Full Snapshot. -
dependentSnapshotIds
IDs of Incremental Snapshots which are based on this Snapshot. -
encryptionProviderName
-
toString
- Overrides:
toStringin classGlobalSnapshotState
-