public class VisorSnapshotRestoreTaskArg extends VisorSnapshotCreateTaskArg
| Constructor and Description |
|---|
VisorSnapshotRestoreTaskArg()
Default constructor.
|
VisorSnapshotRestoreTaskArg(String snpName,
String snpPath,
@Nullable Integer incIdx,
boolean sync,
VisorSnapshotRestoreTaskAction action,
@Nullable Collection<String> grpNames,
boolean check) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check() |
Collection<String> |
groupNames() |
int |
incrementIndex() |
VisorSnapshotRestoreTaskAction |
jobAction() |
protected void |
readExternalData(byte ver,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
incremental, onlyPrimary, snapshotName, snapshotPath, syncgetProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorSnapshotRestoreTaskArg()
public VisorSnapshotRestoreTaskArg(String snpName, String snpPath, @Nullable @Nullable Integer incIdx, boolean sync, VisorSnapshotRestoreTaskAction action, @Nullable @Nullable Collection<String> grpNames, boolean check)
snpName - Snapshot name.snpPath - Snapshot path.incIdx - Incremental snapshot index, null if no increments should be restored.sync - Synchronous execution flag.action - Snapshot restore operation management action.grpNames - Cache group names.check - If true check snapshot before restore.public Collection<String> groupNames()
public VisorSnapshotRestoreTaskAction jobAction()
public int incrementIndex()
public boolean check()
true check snapshot before restore.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorSnapshotCreateTaskArgout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte ver,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorSnapshotCreateTaskArgver - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.public String toString()
toString in class VisorSnapshotCreateTaskArg
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023