public interface Message extends Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECT_TYPE_SIZE
Direct type size in bytes.
|
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
default byte |
policy()
Message processing policy.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
static final int DIRECT_TYPE_SIZE
boolean writeTo(ByteBuffer buf, MessageWriter writer)
buf - Byte buffer.writer - Writer.boolean readFrom(ByteBuffer buf, MessageReader reader)
buf - Byte buffer.reader - Reader.short directType()
byte fieldsCount()
void onAckReceived()
default byte policy()
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025