Class LocalSnapshotState
java.lang.Object
org.gridgain.internal.snapshots.communication.metastorage.LocalSnapshotState
Represents a Local Snapshot State, that is, state of Snapshot operation specific to a given node.
Local States are generated and updated by every participating node and is used to track the progress of a Snapshot Operation on that particular node.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalSnapshotState(SnapshotStatus status, long numRows) Constructor.LocalSnapshotState(SnapshotStatus status, long numRows, @Nullable String errorMessage) Constructor for a failed operation result. -
Method Summary
-
Constructor Details
-
LocalSnapshotState
Constructor.- Parameters:
status- Snapshot status on this node.numRows- Number of processed rows.
-
LocalSnapshotState
public LocalSnapshotState(SnapshotStatus status, long numRows, @Nullable @Nullable String errorMessage) Constructor for a failed operation result.- Parameters:
status- Snapshot status on this node.numRows- Number of processed rows.errorMessage- Error message that describes the reason of the failure.
-
-
Method Details