public class ProbedTx extends Object implements Message
DIRECT_TYPE_SIZE| Constructor and Description |
|---|
ProbedTx() |
ProbedTx(UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion nearXidVer,
long startTime,
int lockCntr) |
| Modifier and Type | Method and Description |
|---|---|
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
int |
lockCounter() |
GridCacheVersion |
nearXidVersion() |
UUID |
nodeId() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
long |
startTime() |
String |
toString() |
ProbedTx |
withStartTime(long updStartTime)
Creates a copy of this instance with modified transaction start time.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
GridCacheVersion |
xidVersion() |
public ProbedTx()
public ProbedTx(UUID nodeId, GridCacheVersion xidVer, GridCacheVersion nearXidVer, long startTime, int lockCntr)
nodeId - Node on which probed transaction runs.xidVer - Identifier of transaction.nearXidVer - Identifier of near transaction.startTime - Transaction start time.lockCntr - Number of locks acquired by probed transaction at a time of probe handling.public UUID nodeId()
public GridCacheVersion xidVersion()
public GridCacheVersion nearXidVersion()
public long startTime()
public int lockCounter()
public ProbedTx withStartTime(long updStartTime)
updStartTime - New start time value.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.11.1 Release Date : December 20 2021