public class DefaultTransactionStateCache
extends co.cask.tephra.coprocessor.TransactionStateCache
TransactionStateCache implementation for
transaction coprocessors with a version that reads transaction configuration properties from
ConfigurationTable. This allows the coprocessors to pick up configuration changes without requiring
a restart.| Constructor and Description |
|---|
DefaultTransactionStateCache(String sysConfigTablePrefix) |
| Modifier and Type | Method and Description |
|---|---|
protected Configuration |
getSnapshotConfiguration() |
void |
setConf(Configuration conf) |
getConf, getLatestState, shutDown, startUppublic DefaultTransactionStateCache(String sysConfigTablePrefix)
public void setConf(Configuration conf)
setConf in interface ConfigurablesetConf in class co.cask.tephra.coprocessor.TransactionStateCacheprotected Configuration getSnapshotConfiguration() throws IOException
getSnapshotConfiguration in class co.cask.tephra.coprocessor.TransactionStateCacheIOExceptionCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.