public class SnapshotCodecV2 extends DefaultSnapshotCodec
TransactionSnapshot
and its elements to byte[].| Constructor and Description |
|---|
SnapshotCodecV2() |
| Modifier and Type | Method and Description |
|---|---|
protected NavigableMap<Long,TransactionManager.InProgressTx> |
decodeInProgress(BinaryDecoder decoder) |
protected void |
encodeInProgress(BinaryEncoder encoder,
Map<Long,TransactionManager.InProgressTx> inProgress) |
int |
getVersion() |
decode, decodeTransactionVisibilityState, encodepublic int getVersion()
getVersion in interface SnapshotCodecgetVersion in class DefaultSnapshotCodecprotected void encodeInProgress(BinaryEncoder encoder, Map<Long,TransactionManager.InProgressTx> inProgress) throws IOException
encodeInProgress in class DefaultSnapshotCodecIOExceptionprotected NavigableMap<Long,TransactionManager.InProgressTx> decodeInProgress(BinaryDecoder decoder) throws IOException
decodeInProgress in class DefaultSnapshotCodecIOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.