public class MoveSnapshotParams extends Object
Constructor and Description |
---|
MoveSnapshotParams() |
Modifier and Type | Method and Description |
---|---|
SnapshotChainMode |
chainMode() |
MoveSnapshotParams |
chainMode(SnapshotChainMode chainMode)
Sets chain mode.
|
boolean |
deleteSources() |
MoveSnapshotParams |
deleteSources(boolean deleteSources)
Sets delete sources after operation.
|
SnapshotPath |
destinationPath() |
MoveSnapshotParams |
destinationPath(SnapshotPath destPath)
Sets destination path.
|
String |
message() |
MoveSnapshotParams |
message(String msg)
Sets additional user message to log.
|
Integer |
parallelismLevel() |
MoveSnapshotParams |
parallelismLevel(Integer parallelismLevel)
Sets level of parallelism.
|
boolean |
singleFileCopy() |
MoveSnapshotParams |
singleFileCopy(boolean singleFileCopy)
Sets would copy partitions once (cluster-wide).
|
boolean |
skipWalMove() |
MoveSnapshotParams |
skipWalMove(boolean skipWalMove)
Sets skip moving WAL files in PITR case.
|
long |
snapshotId() |
MoveSnapshotParams |
snapshotId(long snapshotId)
Sets snapshot ID to move.
|
String |
toString() |
public long snapshotId()
public MoveSnapshotParams snapshotId(long snapshotId)
snapshotId
- Snapshot ID to move.public SnapshotPath destinationPath()
public MoveSnapshotParams destinationPath(SnapshotPath destPath)
destPath
- Destination path.public boolean skipWalMove()
true
then skip moving WAL files in PITR case.public MoveSnapshotParams skipWalMove(boolean skipWalMove)
skipWalMove
- If true
then skip moving WAL files in PITR case.public SnapshotChainMode chainMode()
public MoveSnapshotParams chainMode(SnapshotChainMode chainMode)
chainMode
- Chain mode.public boolean deleteSources()
public MoveSnapshotParams deleteSources(boolean deleteSources)
deleteSources
- Delete sources after operation.public boolean singleFileCopy()
public MoveSnapshotParams singleFileCopy(boolean singleFileCopy)
singleFileCopy
- Would copy partitions once (cluster-wide).public Integer parallelismLevel()
public MoveSnapshotParams parallelismLevel(Integer parallelismLevel)
parallelismLevel
- Level of parallelism.public String message()
public MoveSnapshotParams message(String msg)
msg
- Additional user message to log.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024