public class MvccSnapshotResponse extends Object implements MvccMessage, MvccSnapshot, MvccLongList
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
MvccSnapshotResponse()
Required by
GridIoMessageFactory. |
| Modifier and Type | Method and Description |
|---|---|
MvccLongList |
activeTransactions() |
void |
addTx(long txId) |
long |
cleanupVersion() |
boolean |
contains(long val) |
long |
coordinatorVersion() |
long |
counter() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
long |
futureId() |
long |
get(int i) |
void |
incrementOperationCounter()
Increments operation counter.
|
void |
init(long futId,
long crdVer,
long cntr,
int opCntr,
long cleanupVer,
long tracking) |
void |
onAckReceived()
Method called when ack message received.
|
int |
operationCounter() |
boolean |
processedFromNioThread() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
int |
size() |
String |
toString() |
long |
tracking() |
boolean |
waitForCoordinatorInit() |
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 MvccSnapshotResponse()
GridIoMessageFactory.public void init(long futId,
long crdVer,
long cntr,
int opCntr,
long cleanupVer,
long tracking)
futId - Future ID.crdVer - Coordinator version.cntr - Counter.opCntr - Operation counter.cleanupVer - Cleanup version.tracking - Tracking number.public void addTx(long txId)
txId - Transaction counter.public int size()
size in interface MvccLongListpublic long get(int i)
get in interface MvccLongListpublic boolean contains(long val)
contains in interface MvccLongListpublic long tracking()
public boolean waitForCoordinatorInit()
waitForCoordinatorInit in interface MvccMessageTrue if should wait for coordinator initialization.public boolean processedFromNioThread()
processedFromNioThread in interface MvccMessageTrue if message should be processed from NIO thread.public long futureId()
public long cleanupVersion()
cleanupVersion in interface MvccSnapshotpublic long counter()
counter in interface MvccVersionpublic int operationCounter()
operationCounter in interface MvccVersionpublic void incrementOperationCounter()
incrementOperationCounter in interface MvccSnapshotpublic MvccLongList activeTransactions()
activeTransactions in interface MvccSnapshotpublic MvccSnapshot withoutActiveTransactions()
withoutActiveTransactions in interface MvccSnapshotpublic long coordinatorVersion()
coordinatorVersion 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.11.1 Release Date : December 20 2021