Class ShutdownPolicyTaskResult
- java.lang.Object
-
- org.apache.ignite.internal.dto.IgniteDataTransferObject
-
- org.apache.ignite.internal.management.ShutdownPolicyTaskResult
-
- All Implemented Interfaces:
Externalizable,Serializable
public class ShutdownPolicyTaskResult extends IgniteDataTransferObject
Shutdown policy visor trsk result.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShutdownPolicyTaskResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShutdownPolicygetShutdown()Get policy.protected voidreadExternalData(byte protoVer, ObjectInput in)Load object's specific data content.voidsetShutdown(ShutdownPolicy shutdown)Set policy.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
-
-
-
-
Method Detail
-
getShutdown
public ShutdownPolicy getShutdown()
Get policy.- Returns:
- Shutdown policy.
-
setShutdown
public void setShutdown(ShutdownPolicy shutdown)
Set policy.- Parameters:
shutdown- Shutdown policy.
-
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.
-
-