public class BaselineTopologyRecordSerializer extends Object
BaselineTopologyRecord WAL serializer.| Constructor and Description |
|---|
BaselineTopologyRecordSerializer(GridCacheSharedContext cctx)
Create an instance of serializer.
|
| Modifier and Type | Method and Description |
|---|---|
BaselineTopologyRecord |
read(ByteBufferBackedDataInput in)
Reads
BaselineTopologyRecord from given input. |
int |
size(BaselineTopologyRecord rec)
Returns size of marshalled
BaselineTopologyRecord in bytes. |
void |
write(BaselineTopologyRecord rec,
ByteBuffer buf)
Writes
BaselineTopologyRecord to given buffer. |
public BaselineTopologyRecordSerializer(GridCacheSharedContext cctx)
cctx - Cache shared context.public void write(BaselineTopologyRecord rec, ByteBuffer buf) throws IgniteCheckedException
BaselineTopologyRecord to given buffer.rec - BaselineTopologyRecord instance.buf - Byte buffer.IgniteCheckedException - In case of fail.public BaselineTopologyRecord read(ByteBufferBackedDataInput in) throws IOException, IgniteCheckedException
BaselineTopologyRecord from given input.in - InputIOException - In case of fail.IgniteCheckedException - In case of fail.public int size(BaselineTopologyRecord rec) throws IgniteCheckedException
BaselineTopologyRecord in bytes.rec - BaselineTopologyRecord instance.IgniteCheckedException - In case of fail.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018