public class GridTaskResultResponse extends Object implements Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
GridTaskResultResponse() |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
String |
error() |
void |
error(String err) |
byte |
fieldsCount()
Gets fields count.
|
boolean |
finished() |
void |
finished(boolean finished) |
boolean |
found() |
void |
found(boolean found) |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
@Nullable Object |
result() |
void |
result(@Nullable Object res) |
byte[] |
resultBytes() |
void |
resultBytes(byte[] resBytes) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
@Nullable public @Nullable Object result()
public void result(@Nullable
@Nullable Object res)
res - Task result.public void resultBytes(byte[] resBytes)
resBytes - Serialized result.public byte[] resultBytes()
public boolean finished()
true if finished.public void finished(boolean finished)
finished - true if finished.public boolean found()
true if found.public void found(boolean found)
found - true if found.public String error()
public void error(String err)
err - 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.11.0 Release Date : September 11 2021