| Constructor and Description |
|---|
TxRecordSerializer() |
| Modifier and Type | Method and Description |
|---|---|
TxRecord |
read(ByteBufferBackedDataInput in)
Reads
TxRecord from given input. |
int |
size(TxRecord rec)
Returns size of marshalled
TxRecord in bytes. |
void |
write(TxRecord rec,
ByteBuffer buf)
Writes
TxRecord to given buffer. |
public void write(TxRecord rec, ByteBuffer buf) throws IgniteCheckedException
TxRecord to given buffer.rec - TxRecord.buf - Byte buffer.IgniteCheckedException - In case of fail.public TxRecord read(ByteBufferBackedDataInput in) throws IOException, IgniteCheckedException
TxRecord from given input.in - InputIOException - In case of fail.IgniteCheckedException - In case of fail.public int size(TxRecord rec) throws IgniteCheckedException
TxRecord in bytes.rec - TxRecord.IgniteCheckedException - In case of fail.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018