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 |
setId(String id) |
protected void |
shutDown() |
protected void |
startUp() |
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
protected void startUp() throws Exception
startUp
in class com.google.common.util.concurrent.AbstractIdleService
Exception
protected void shutDown() throws Exception
shutDown
in class com.google.common.util.concurrent.AbstractIdleService
Exception
protected org.apache.hadoop.conf.Configuration getSnapshotConfiguration() throws IOException
IOException
@Nullable public TransactionVisibilityState getLatestState()
Copyright © 2018 The Apache Software Foundation. All rights reserved.