Class ValidateIndexesTaskResult
- java.lang.Object
-
- org.apache.ignite.internal.visor.VisorDataTransferObject
-
- org.apache.ignite.internal.management.cache.ValidateIndexesTaskResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class ValidateIndexesTaskResult extends VisorDataTransferObject
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValidateIndexesTaskResult.NodeInfoHolds node id and consistent id.
-
Constructor Summary
Constructors Constructor Description ValidateIndexesTaskResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddException(ClusterNode clusterNode, Exception exception)Adds single node job failure.voidaddResult(ClusterNode clusterNode, ValidateIndexesJobResult jobResult)Adds single node job result.Map<ValidateIndexesTaskResult.NodeInfo,Exception>exceptions()@Nullable ValidateIndexesJobResultjobResult(ClusterNode clusterNode)protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.Map<ValidateIndexesTaskResult.NodeInfo,ValidateIndexesJobResult>results()StringtoString()protected voidwriteExternalData(ObjectOutput out)Save object's specific data content.-
Methods inherited from class org.apache.ignite.internal.visor.VisorDataTransferObject
getProtocolVersion, readExternal, toList, toSet, writeExternal
-
-
-
-
Method Detail
-
addResult
public void addResult(ClusterNode clusterNode, ValidateIndexesJobResult jobResult)
Adds single node job result.
-
jobResult
@Nullable public @Nullable ValidateIndexesJobResult jobResult(ClusterNode clusterNode)
- Returns:
- Single node job result or
nullif not found.
-
results
public Map<ValidateIndexesTaskResult.NodeInfo,ValidateIndexesJobResult> results()
- Returns:
- Results from cluster.
-
addException
public void addException(ClusterNode clusterNode, Exception exception)
Adds single node job failure.
-
exceptions
public Map<ValidateIndexesTaskResult.NodeInfo,Exception> exceptions()
- Returns:
- Exceptions.
-
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.
-
-