public class MvccVersionImpl extends Object implements MvccVersion, Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
MvccVersionImpl()
Constructor.
|
MvccVersionImpl(long crdVer,
long cntr,
int opCntr) |
| Modifier and Type | Method and Description |
|---|---|
long |
coordinatorVersion() |
long |
counter() |
short |
directType()
Gets message type.
|
boolean |
equals(Object o) |
byte |
fieldsCount()
Gets fields count.
|
int |
hashCode() |
void |
onAckReceived()
Method called when ack message received.
|
int |
operationCounter() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTopublic MvccVersionImpl()
public MvccVersionImpl(long crdVer,
long cntr,
int opCntr)
crdVer - Coordinator version.cntr - Counter.opCntr - Operation counter.public long coordinatorVersion()
coordinatorVersion in interface MvccVersionpublic long counter()
counter in interface MvccVersionpublic int operationCounter()
operationCounter in interface MvccVersionpublic 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.8.0 Release Date : February 27 2020