co.cask.tephra.snapshot.SnapshotCodecV3.@Deprecated public class SnapshotCodecV1 extends AbstractSnapshotCodec
TransactionSnapshot and
its elements to byte[].| Modifier and Type | Field and Description |
|---|---|
static int |
VERSION
Deprecated.
|
| Constructor and Description |
|---|
SnapshotCodecV1()
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 |
decodeObsoleteAttributes(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.
|
protected void |
encodeObsoleteAttributes(co.cask.tephra.snapshot.BinaryEncoder encoder)
Deprecated.
|
int |
getVersion()
Deprecated.
|
decode, decodeTransactionVisibilityState, encodepublic static final int VERSION
public int getVersion()
getVersion in interface co.cask.tephra.snapshot.SnapshotCodecgetVersion in class AbstractSnapshotCodecprotected void decodeObsoleteAttributes(co.cask.tephra.snapshot.BinaryDecoder decoder)
throws IOException
decodeObsoleteAttributes in class AbstractSnapshotCodecIOExceptionprotected void encodeObsoleteAttributes(co.cask.tephra.snapshot.BinaryEncoder encoder)
throws IOException
encodeObsoleteAttributes in class AbstractSnapshotCodecIOExceptionprotected 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.