public interface SnapshotCodec
| Modifier and Type | Method and Description |
|---|---|
TransactionSnapshot |
decode(InputStream in)
Decode a transaction snapshot from an input stream.
|
void |
encode(OutputStream out,
TransactionSnapshot snapshot)
Encode a transaction snapshot into an output stream.
|
int |
getVersion() |
int getVersion()
void encode(OutputStream out, TransactionSnapshot snapshot)
out - the output stream to write tosnapshot - the snapshot to encodeTransactionSnapshot decode(InputStream in)
in - the input stream to read fromCopyright © 2015. All Rights Reserved.