public class SnapshotOperationRequest extends Object implements Serializable
DistributedProcess initiate message.| Constructor and Description |
|---|
SnapshotOperationRequest(UUID reqId,
UUID opNodeId,
String snpName,
String snpPath,
@Nullable Collection<String> grps,
Set<UUID> nodes,
boolean incremental,
int incIdx,
boolean onlyPrimary) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
error() |
void |
error(Throwable err) |
@Nullable Collection<String> |
groups() |
boolean |
incremental() |
int |
incrementIndex() |
SnapshotMetadata |
meta() |
void |
meta(SnapshotMetadata meta)
Stores snapshot metadata.
|
Set<UUID> |
nodes() |
boolean |
onlyPrimary() |
UUID |
operationalNodeId() |
UUID |
requestId() |
String |
snapshotName() |
String |
snapshotPath() |
protected boolean |
startStageEnded() |
protected void |
startStageEnded(boolean startStageEnded) |
long |
startTime() |
boolean |
streamerWarning()
True If the streamer warning flag is set. |
boolean |
streamerWarning(boolean val)
Sets the streamer warning flag.
|
String |
toString() |
List<String> |
warnings() |
void |
warnings(List<String> warnings) |
public SnapshotOperationRequest(UUID reqId, UUID opNodeId, String snpName, String snpPath, @Nullable @Nullable Collection<String> grps, Set<UUID> nodes, boolean incremental, int incIdx, boolean onlyPrimary)
reqId - Request ID.opNodeId - Operational node ID.snpName - Snapshot name.snpPath - Snapshot directory path.grps - List of cache group names.nodes - Baseline node IDs that must be alive to complete the operation.incremental - True if incremental snapshot requested.incIdx - Incremental snapshot index.onlyPrimary - If true snapshot only primary copies of partitions.public UUID requestId()
public String snapshotName()
public String snapshotPath()
@Nullable public @Nullable Collection<String> groups()
public Set<UUID> nodes()
public UUID operationalNodeId()
public Throwable error()
public void error(Throwable err)
err - Exception occurred during snapshot operation processing.public boolean incremental()
True if incremental snapshot requested.public int incrementIndex()
public boolean onlyPrimary()
true snapshot only primary copies of partitions.public long startTime()
protected boolean startStageEnded()
DistributedProcess.DistributedProcessType.START_SNAPSHOT phase has completed.protected void startStageEnded(boolean startStageEnded)
startStageEnded - Flag indicating that the DistributedProcess.DistributedProcessType.START_SNAPSHOT phase has completed.public void warnings(List<String> warnings)
warnings - Warnings of snapshot operation.public boolean streamerWarning()
True If the streamer warning flag is set. False otherwise.public boolean streamerWarning(boolean val)
public SnapshotMetadata meta()
public void meta(SnapshotMetadata meta)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023