public class SnapshotCodecV3 extends SnapshotCodecV2
TransactionSnapshot
and its elements to byte[]
.
The serialization/deserialization of this codec is the same as that performed by SnapshotCodecV2
,
but a new version number is used to allow easy migration from projects using deprecated codecs with
conflicting version numbers.
Constructor and Description |
---|
SnapshotCodecV3() |
Modifier and Type | Method and Description |
---|---|
int |
getVersion() |
decodeInProgress, encodeInProgress
decode, decodeTransactionVisibilityState, encode
public int getVersion()
getVersion
in interface SnapshotCodec
getVersion
in class SnapshotCodecV2
Copyright © 2016 The Apache Software Foundation. All rights reserved.