public class RecoveryLastReceivedMessage extends Object implements Message
Modifier and Type | Field and Description |
---|---|
static long |
ALREADY_CONNECTED |
static int |
MESSAGE_FULL_SIZE
Full message size (with message type) in bytes.
|
static long |
NEED_WAIT
Need wait.
|
static long |
NODE_STOPPING |
static long |
UNKNOWN_NODE
Initiator node is not in current topogy.
|
DIRECT_TYPE_SIZE
Constructor and Description |
---|
RecoveryLastReceivedMessage()
Default constructor required by
Message . |
RecoveryLastReceivedMessage(long rcvCnt) |
Modifier and Type | Method and Description |
---|---|
short |
directType()
Gets message type.
|
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 |
received() |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public static final long ALREADY_CONNECTED
public static final long NODE_STOPPING
public static final long NEED_WAIT
public static final long UNKNOWN_NODE
public static final int MESSAGE_FULL_SIZE
public RecoveryLastReceivedMessage()
Message
.public RecoveryLastReceivedMessage(long rcvCnt)
rcvCnt
- Number of received messages.public long received()
public void onAckReceived()
onAckReceived
in interface Message
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023