co.cask.tephra.snapshot.SnapshotCodecV3.@Deprecated public class SnapshotCodecV2 extends AbstractSnapshotCodec
TransactionSnapshot
and its elements to byte[].| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION
Deprecated.
|
| Constructor and Description |
|---|
SnapshotCodecV2()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected NavigableMap<Long,co.cask.tephra.TransactionManager.InProgressTx> |
decodeInProgress(co.cask.tephra.snapshot.BinaryDecoder decoder)
Deprecated.
|
protected void |
encodeInProgress(co.cask.tephra.snapshot.BinaryEncoder encoder,
Map<Long,co.cask.tephra.TransactionManager.InProgressTx> inProgress)
Deprecated.
|
int |
getVersion()
Deprecated.
|
decode, decodeObsoleteAttributes, decodeTransactionVisibilityState, encode, encodeObsoleteAttributespublic static final int VERSION
public int getVersion()
getVersion in interface co.cask.tephra.snapshot.SnapshotCodecgetVersion in class AbstractSnapshotCodecprotected void encodeInProgress(co.cask.tephra.snapshot.BinaryEncoder encoder,
Map<Long,co.cask.tephra.TransactionManager.InProgressTx> inProgress)
throws IOException
encodeInProgress in class AbstractSnapshotCodecIOExceptionprotected NavigableMap<Long,co.cask.tephra.TransactionManager.InProgressTx> decodeInProgress(co.cask.tephra.snapshot.BinaryDecoder decoder) throws IOException
decodeInProgress in class AbstractSnapshotCodecIOExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.