public static class TransactionWatcher.ZooArbitrator extends Object implements TransactionWatcher.Arbitrator
| Constructor and Description |
|---|
TransactionWatcher.ZooArbitrator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanup(String type,
long tid) |
static void |
start(String type,
long tid) |
static void |
stop(String type,
long tid) |
boolean |
transactionAlive(String type,
long tid) |
boolean |
transactionComplete(String type,
long tid) |
public boolean transactionAlive(String type, long tid) throws Exception
transactionAlive in interface TransactionWatcher.ArbitratorExceptionpublic static void start(String type, long tid) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic static void stop(String type, long tid) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic static void cleanup(String type, long tid) throws org.apache.zookeeper.KeeperException, InterruptedException
org.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic boolean transactionComplete(String type, long tid) throws Exception
transactionComplete in interface TransactionWatcher.ArbitratorExceptionCopyright © 2015 Apache Accumulo Project. All rights reserved.