public class RecordDataV2Serializer extends RecordDataV1Serializer
RecordDataV1Serializer.EncryptedDataEntrycctx, co, pageSize, realPageSize| Constructor and Description |
|---|
RecordDataV2Serializer(GridCacheSharedContext cctx)
Create an instance of V2 data serializer.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
entrySize(DataEntry entry) |
protected int |
plainSize(WALRecord rec) |
protected void |
writePlainRecord(WALRecord rec,
ByteBuffer buf)
Write
rec to buf without encryption. |
cctx, dataSize, readRecord, size, writeRecordpublic RecordDataV2Serializer(GridCacheSharedContext cctx)
cctx - Cache shared context.protected int plainSize(WALRecord rec) throws IgniteCheckedException
rec - Record to measure.IgniteCheckedException - If failed.protected void writePlainRecord(WALRecord rec, ByteBuffer buf) throws IgniteCheckedException
rec to buf without encryption.rec - Record to serialize.buf - Output buffer.IgniteCheckedException - If failed.protected int entrySize(DataEntry entry) throws IgniteCheckedException
entrySize in class RecordDataV1Serializerentry - Entry to get size for.IgniteCheckedException - If failed to get key or value bytes length.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020