public class MvccSnapshotWithoutTxs extends Object implements MvccSnapshot
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
MvccSnapshotWithoutTxs()
Required by
GridIoMessageFactory. |
MvccSnapshotWithoutTxs(long crdVer,
long cntr,
int opCntr,
long cleanupVer) |
| Modifier and Type | Method and Description |
|---|---|
MvccLongList |
activeTransactions() |
long |
cleanupVersion() |
long |
coordinatorVersion() |
long |
counter() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
incrementOperationCounter()
Increments operation counter.
|
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() |
MvccSnapshot |
withoutActiveTransactions() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTopublic MvccSnapshotWithoutTxs()
GridIoMessageFactory.public MvccSnapshotWithoutTxs(long crdVer,
long cntr,
int opCntr,
long cleanupVer)
crdVer - Coordinator version.cntr - Counter.cleanupVer - Cleanup version.public MvccLongList activeTransactions()
activeTransactions in interface MvccSnapshotpublic long coordinatorVersion()
coordinatorVersion in interface MvccVersionpublic long cleanupVersion()
cleanupVersion in interface MvccSnapshotpublic long counter()
counter in interface MvccVersionpublic int operationCounter()
operationCounter in interface MvccVersionpublic void incrementOperationCounter()
incrementOperationCounter in interface MvccSnapshotpublic MvccSnapshot withoutActiveTransactions()
withoutActiveTransactions in interface MvccSnapshotpublic 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.1 Release Date : May 21 2020