public class GridJobCancelRequest extends MessageAdapter
MessageAdapter.Typereader, readState| Constructor and Description |
|---|
GridJobCancelRequest()
No-op constructor to support
Externalizable interface. |
GridJobCancelRequest(IgniteUuid sesId) |
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId) |
GridJobCancelRequest(IgniteUuid sesId,
IgniteUuid jobId,
boolean sys) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
IgniteUuid |
jobId()
Gets session ID of job to be cancelled.
|
boolean |
readFrom(ByteBuffer buf)
Reads this message from provided byte buffer.
|
IgniteUuid |
sessionId()
Gets execution ID of task to be cancelled.
|
boolean |
system() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
setReader, skipRecoverypublic GridJobCancelRequest()
Externalizable interface.
This constructor is not meant to be used for other purposes.public GridJobCancelRequest(IgniteUuid sesId)
sesId - Task session ID.public GridJobCancelRequest(@Nullable IgniteUuid sesId, @Nullable IgniteUuid jobId)
sesId - Task session ID.jobId - Job ID.public GridJobCancelRequest(@Nullable IgniteUuid sesId, @Nullable IgniteUuid jobId, boolean sys)
sesId - Session ID.jobId - Job ID.sys - System flag.@Nullable public IgniteUuid sessionId()
@Nullable public IgniteUuid jobId()
null, then
all jobs for the specified task execution ID will be cancelled.public boolean system()
True if request to cancel is sent out of system when task
has already been reduced and further results are no longer interesting.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class MessageAdapterbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class MessageAdapterbuf - Byte buffer.public byte directType()
directType in class MessageAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015