Class DefragmentationTaskResult
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.defragmentation.DefragmentationTaskResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class DefragmentationTaskResult extends IgniteDataTransferObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefragmentationTaskResult()Empty constructor for serialization.DefragmentationTaskResult(boolean success, String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()booleanisSuccess()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
-
DefragmentationTaskResult
public DefragmentationTaskResult()
Empty constructor for serialization.
-
DefragmentationTaskResult
public DefragmentationTaskResult(boolean success, String msg)
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
getMessage
public String getMessage()
-
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 IOExceptionLoad 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.
-
-