public class DeadlockProbe extends Object implements Message
DeadlockDetectionManager,
Serialized FormDIRECT_TYPE_SIZE| Constructor and Description |
|---|
DeadlockProbe() |
DeadlockProbe(GridCacheVersion initiatorVer,
Collection<ProbedTx> waitChain,
ProbedTx blocker,
boolean nearCheck) |
| Modifier and Type | Method and Description |
|---|---|
ProbedTx |
blocker() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
GridCacheVersion |
initiatorVersion() |
boolean |
nearCheck() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
Collection<ProbedTx> |
waitChain() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public DeadlockProbe()
public DeadlockProbe(GridCacheVersion initiatorVer, Collection<ProbedTx> waitChain, ProbedTx blocker, boolean nearCheck)
public GridCacheVersion initiatorVersion()
public Collection<ProbedTx> waitChain()
public ProbedTx blocker()
public boolean nearCheck()
True if checks if near transaction is waiting. False if checks dht transaction.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.15.0 Release Date : April 25 2023