public class SnapshotCodecV4 extends SnapshotCodecV2
TransactionSnapshot
and its elements to byte[].| Constructor and Description |
|---|
SnapshotCodecV4() |
| 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 SnapshotCodecV2protected void encodeInProgress(BinaryEncoder encoder, Map<Long,TransactionManager.InProgressTx> inProgress) throws IOException
encodeInProgress in class SnapshotCodecV2IOExceptionprotected NavigableMap<Long,TransactionManager.InProgressTx> decodeInProgress(BinaryDecoder decoder) throws IOException
decodeInProgress in class SnapshotCodecV2IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.