public class GridTaskResultResponse extends Object implements Message
| Constructor and Description |
|---|
GridTaskResultResponse() |
| Modifier and Type | Method and Description |
|---|---|
byte |
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.
|
Object |
result() |
void |
result(Object res) |
byte[] |
resultBytes() |
void |
resultBytes(byte[] resBytes) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
@Nullable public Object result()
public void result(@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 byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016