Class SnapshotMetadataVerificationTaskArg
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorDataTransferObject
-
- org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotMetadataVerificationTaskArg
-
- All Implemented Interfaces:
Externalizable,Serializable
public class SnapshotMetadataVerificationTaskArg extends VisorDataTransferObject
Input parameters for checking snapshot metadata.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotMetadataVerificationTaskArg()Default constructor.SnapshotMetadataVerificationTaskArg(String snpName, @Nullable String snpPath, int incIdx, Collection<Integer> grpIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetProtocolVersion()@Nullable Collection<Integer>grpIds()intincrementIndex()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.StringsnapshotName()StringsnapshotPath()StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.visor.VisorDataTransferObject
readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
SnapshotMetadataVerificationTaskArg
public SnapshotMetadataVerificationTaskArg()
Default constructor.
-
SnapshotMetadataVerificationTaskArg
public SnapshotMetadataVerificationTaskArg(String snpName, @Nullable @Nullable String snpPath, int incIdx, Collection<Integer> grpIds)
- Parameters:
snpName- Snapshot name.snpPath- Snapshot directory path.
-
-
Method Detail
-
getProtocolVersion
public byte getProtocolVersion()
- Overrides:
getProtocolVersionin classVisorDataTransferObject- Returns:
- Transfer object version.
-
snapshotName
public String snapshotName()
- Returns:
- Snapshot name.
-
snapshotPath
public String snapshotPath()
- Returns:
- Snapshot directory path.
-
incrementIndex
public int incrementIndex()
- Returns:
- Incremental snapshot index.
-
grpIds
@Nullable public @Nullable Collection<Integer> grpIds()
- Returns:
- Cache group ids.
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classVisorDataTransferObject- Parameters:
out- Output object to write data content.- Throws:
IOException- If I/O errors occur.
-
readExternalData
protected void readExternalData(byte protoVer, ObjectInput in) throws IOException, ClassNotFoundExceptionLoad object's specific data content.- Specified by:
readExternalDatain classVisorDataTransferObject- Parameters:
protoVer- Input object version.in- Input object to load data content.- Throws:
IOException- If I/O errors occur.ClassNotFoundException- If the class for an object being restored cannot be found.
-
-