public class TxLockList extends Object implements Message
DIRECT_TYPE_SIZE
Constructor and Description |
---|
TxLockList()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(TxLock txLock) |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
boolean |
isEmpty() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
List<TxLock> |
txLocks() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public void add(TxLock txLock)
txLock
- Tx lock.public boolean isEmpty()
True
if lock list is empty.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
public void onAckReceived()
onAckReceived
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017