public class GridContinuousMessage extends Object implements Message
| Constructor and Description |
|---|
GridContinuousMessage()
Required by
Externalizable. |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
data() |
void |
data(Object data) |
byte[] |
dataBytes() |
void |
dataBytes(byte[] dataBytes) |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
futureId() |
boolean |
messages() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
routineId() |
String |
toString() |
org.apache.ignite.internal.processors.continuous.GridContinuousMessageType |
type() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridContinuousMessage()
Externalizable.public org.apache.ignite.internal.processors.continuous.GridContinuousMessageType type()
public UUID routineId()
public boolean messages()
True is data is collection of messages.public <T> T data()
public void data(Object data)
data - Message data.public byte[] dataBytes()
public void dataBytes(byte[] dataBytes)
dataBytes - Serialized message data.@Nullable public IgniteUuid futureId()
public 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.1.0-incubating Release Date : May 20 2015