Class SnapshotMetadataVerificationTaskResult
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.processors.cache.persistence.snapshot.SnapshotMetadataVerificationTaskResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class SnapshotMetadataVerificationTaskResult extends IgniteDataTransferObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SnapshotMetadataVerificationTaskResult()SnapshotMetadataVerificationTaskResult(Map<ClusterNode,List<SnapshotMetadata>> meta, Map<ClusterNode,Exception> exceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<ClusterNode,Exception>exceptions()Map<ClusterNode,List<SnapshotMetadata>>meta()protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.dto.IgniteDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Constructor Detail
-
SnapshotMetadataVerificationTaskResult
public SnapshotMetadataVerificationTaskResult(Map<ClusterNode,List<SnapshotMetadata>> meta, Map<ClusterNode,Exception> exceptions)
-
SnapshotMetadataVerificationTaskResult
public SnapshotMetadataVerificationTaskResult()
-
-
Method Detail
-
exceptions
public Map<ClusterNode,Exception> exceptions()
- Returns:
- Errors happened during snapshot metadata verification.
-
meta
public Map<ClusterNode,List<SnapshotMetadata>> meta()
- Returns:
- Full snapshot metadata.
-
writeExternalData
protected void writeExternalData(ObjectOutput out) throws IOException
Save object's specific data content.- Specified by:
writeExternalDatain classIgniteDataTransferObject- 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 classIgniteDataTransferObject- 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.
-
-