public class GridJobCancelRequest extends Object implements Message
DIRECT_TYPE_SIZE| 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 |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
jobId()
Gets session ID of job to be cancelled.
|
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
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.
|
public 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 void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.2.0 Release Date : September 15 2017