public class GridQueryKillRequest extends Object implements Message
Modifier and Type | Field and Description |
---|---|
static short |
TYPE_CODE |
DIRECT_TYPE_SIZE
Constructor and Description |
---|
GridQueryKillRequest()
Default constructor.
|
GridQueryKillRequest(long reqId,
long nodeQryId,
boolean asyncRes) |
Modifier and Type | Method and Description |
---|---|
boolean |
asyncResponse() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
long |
nodeQryId() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
long |
requestId() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final short TYPE_CODE
public GridQueryKillRequest()
public GridQueryKillRequest(long reqId, long nodeQryId, boolean asyncRes)
reqId
- Request id.nodeQryId
- Query ID on a node.asyncRes
- true
in case reposnse should be send asynchronous.public long requestId()
public long nodeQryId()
public boolean asyncResponse()
true
in case response should be send back asynchronous.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.10.0 Release Date : March 10 2021