public class TransactionStateCache
extends com.google.common.util.concurrent.AbstractIdleService
implements org.apache.hadoop.conf.Configurable
| Constructor and Description |
|---|
TransactionStateCache() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
TransactionVisibilityState |
getLatestState() |
protected org.apache.hadoop.conf.Configuration |
getSnapshotConfiguration() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
protected void |
shutDown() |
protected void |
startUp() |
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurableprotected void startUp()
throws Exception
startUp in class com.google.common.util.concurrent.AbstractIdleServiceExceptionprotected void shutDown()
throws Exception
shutDown in class com.google.common.util.concurrent.AbstractIdleServiceExceptionprotected org.apache.hadoop.conf.Configuration getSnapshotConfiguration()
throws IOException
IOException@Nullable public TransactionVisibilityState getLatestState()
Copyright © 2017 The Apache Software Foundation. All rights reserved.