Class DeleteSnapshotGlobalState

java.lang.Object
org.gridgain.internal.snapshots.communication.metastorage.GlobalSnapshotState
org.gridgain.internal.snapshots.communication.metastorage.DeleteSnapshotGlobalState

public class DeleteSnapshotGlobalState extends GlobalSnapshotState
Represents a Global Snapshot State, that is, state of the whole Snapshot operation (used during Snapshot deletion).

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.

See Also:
  • Constructor Details

    • DeleteSnapshotGlobalState

      public DeleteSnapshotGlobalState(UUID operationId, SnapshotStatus status, Set<String> nodeNames, UUID targetSnapshotId, Instant startTime, String description, @Nullable @Nullable UUID parentSnapshotId, SnapshotUri source)
      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 deleted.
      startTime - Start time of the Operation.
      description - User-friendly description.
      source - Source of the snapshot.
  • Method Details

    • targetSnapshotId

      public UUID targetSnapshotId()
    • parentSnapshotId

      @Nullable public @Nullable UUID parentSnapshotId()
    • toString

      public String toString()
      Overrides:
      toString in class GlobalSnapshotState