public class WalStateAckMessage extends Object implements Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
WalStateAckMessage()
Default constructor.
|
WalStateAckMessage(UUID opId,
boolean affNode,
boolean changed,
@Nullable String errMsg)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
affNode() |
boolean |
changed() |
short |
directType()
Gets message type.
|
@Nullable String |
errorMessage() |
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
UUID |
operationId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
UUID |
senderNodeId() |
void |
senderNodeId(UUID sndNodeId) |
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public UUID operationId()
public boolean affNode()
public boolean changed()
@Nullable public @Nullable String errorMessage()
public UUID senderNodeId()
public void senderNodeId(UUID sndNodeId)
sndNodeId - Sender node ID.public 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 Messagepublic void onAckReceived()
onAckReceived in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020