Class RestoreSnapshotGlobalState
java.lang.Object
org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotState
org.gridgain.internal.snapshots.communication.metastorage.RestoreSnapshotGlobalState
Represents a Global Snapshot State, that is, state of the whole Snapshot operation (used during Snapshot restoration).
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.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRestoreSnapshotGlobalState(UUID operationId, SnapshotStatus status, Set<String> nodeNames, Set<org.apache.ignite.table.QualifiedName> tableNames, UUID targetSnapshotId, int catalogVersion, Instant startTime, String description, SnapshotUri source, @Nullable String encryptionProviderName) Constructor. -
Method Summary
Methods inherited from class org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotState
description, nodeNames, operationId, snapshotUri, startTime, status, structureIds
-
Field Details
-
UNKNOWN_CATALOG_VERSION
public static final int UNKNOWN_CATALOG_VERSION- See Also:
-
-
Constructor Details
-
RestoreSnapshotGlobalState
public RestoreSnapshotGlobalState(UUID operationId, SnapshotStatus status, Set<String> nodeNames, Set<org.apache.ignite.table.QualifiedName> tableNames, UUID targetSnapshotId, int catalogVersion, Instant startTime, String description, SnapshotUri source, @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.targetSnapshotId- ID of the Snapshot to be restored.tableNames- Names of tables to be restored. If empty - restores all tables from the snapshot.catalogVersion- Catalog version that should be used to obtain the temporary tables during restore.startTime- Start time of the Operation.description- User-friendly description.source- Source of the snapshot.
-
-
Method Details
-
targetSnapshotId
-
catalogVersion
public int catalogVersion() -
tableNames
Description copied from class:GlobalSnapshotStateNames of the tables that participate in the Snapshot Operation.- Overrides:
tableNamesin classGlobalSnapshotState
-
encryptionProviderName
-
toString
- Overrides:
toStringin classGlobalSnapshotState
-