public class SnapshotPartitionsVerifyTaskArg extends VisorDataTransferObject
| Constructor and Description |
|---|
SnapshotPartitionsVerifyTaskArg()
Default constructor.
|
SnapshotPartitionsVerifyTaskArg(Collection<String> grpNames,
Map<ClusterNode,List<SnapshotMetadata>> clusterMetas,
@Nullable String snpPath,
int incIdx,
boolean check) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
cacheGroupNames() |
boolean |
check() |
Map<ClusterNode,List<SnapshotMetadata>> |
clusterMetadata() |
int |
incrementIndex() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
snapshotPath() |
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic SnapshotPartitionsVerifyTaskArg()
public SnapshotPartitionsVerifyTaskArg(Collection<String> grpNames, Map<ClusterNode,List<SnapshotMetadata>> clusterMetas, @Nullable @Nullable String snpPath, int incIdx, boolean check)
grpNames - Cache group names to be verified.clusterMetas - The map of distribution of snapshot metadata pieces across the cluster.snpPath - Snapshot directory path.incIdx - Incremental snapshot index.check - If true check snapshot integrity.public Collection<String> cacheGroupNames()
public Map<ClusterNode,List<SnapshotMetadata>> clusterMetadata()
public String snapshotPath()
public int incrementIndex()
public boolean check()
true check snapshot integrity.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - 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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023