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