public class LatchAckMessage extends Object implements Message
Latch instances management.DIRECT_TYPE_SIZE| Constructor and Description |
|---|
LatchAckMessage()
Empty constructor for marshalling purposes.
|
LatchAckMessage(String latchId,
AffinityTopologyVersion topVer,
boolean isFinal)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
boolean |
isFinal() |
String |
latchId() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
AffinityTopologyVersion |
topVer() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public LatchAckMessage(String latchId, AffinityTopologyVersion topVer, boolean isFinal)
latchId - Latch id.topVer - Latch topology version.isFinal - Final acknowledgement flag.public LatchAckMessage()
public String latchId()
public AffinityTopologyVersion topVer()
public boolean isFinal()
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.10.0 Release Date : March 10 2021