public class GridQueryKillResponse extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static short |
TYPE_CODE |
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridQueryKillResponse()
Default constructor.
|
GridQueryKillResponse(long reqId,
String errMsg) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
String |
error() |
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.
|
long |
requestId() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final short TYPE_CODE
public GridQueryKillResponse()
public GridQueryKillResponse(long reqId,
String errMsg)
reqId - Request id.errMsg - Error message.public long requestId()
public String error()
null if no error.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 Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020