public class GridTaskCancelRequest extends Object implements Message
DIRECT_TYPE_SIZE
Constructor and Description |
---|
GridTaskCancelRequest()
No-op constructor to support
Externalizable interface. |
GridTaskCancelRequest(IgniteUuid sesId) |
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
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.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridTaskCancelRequest()
Externalizable
interface.
This constructor is not meant to be used for other purposes.public GridTaskCancelRequest(IgniteUuid sesId)
sesId
- Task session ID.public IgniteUuid sessionId()
public void onAckReceived()
onAckReceived
in interface Message
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021