public abstract class AbstractTransactionStateStorage extends com.google.common.util.concurrent.AbstractIdleService implements TransactionStateStorage
Modifier and Type | Field and Description |
---|---|
protected SnapshotCodecProvider |
codecProvider |
Modifier | Constructor and Description |
---|---|
protected |
AbstractTransactionStateStorage(SnapshotCodecProvider codecProvider) |
Modifier and Type | Method and Description |
---|---|
void |
writeSnapshot(OutputStream out,
TransactionSnapshot snapshot)
Persists a snapshot of transaction state to an output stream.
|
addListener, executor, isRunning, shutDown, start, startAndWait, startUp, state, stop, stopAndWait, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createLog, deleteLogsOlderThan, deleteOldSnapshots, getLatestSnapshot, getLatestTransactionVisibilityState, getLocation, getLogsSince, listLogs, listSnapshots, setupStorage, writeSnapshot
protected final SnapshotCodecProvider codecProvider
protected AbstractTransactionStateStorage(SnapshotCodecProvider codecProvider)
public void writeSnapshot(OutputStream out, TransactionSnapshot snapshot) throws IOException
TransactionStateStorage
writeSnapshot
in interface TransactionStateStorage
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.