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, encode
public int getVersion()
getVersion
in interface SnapshotCodec
getVersion
in class DefaultSnapshotCodec
protected void encodeInProgress(BinaryEncoder encoder, Map<Long,TransactionManager.InProgressTx> inProgress) throws IOException
encodeInProgress
in class DefaultSnapshotCodec
IOException
protected NavigableMap<Long,TransactionManager.InProgressTx> decodeInProgress(BinaryDecoder decoder) throws IOException
decodeInProgress
in class DefaultSnapshotCodec
IOException
Copyright © 2018 The Apache Software Foundation. All rights reserved.