public class GridJobCancelRequest extends Object implements Message
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.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
jobId()
Gets session ID of job to be cancelled.
|
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 boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0.final Release Date : December 29 2015