Class TransactionWatcher
java.lang.Object
org.apache.accumulo.server.zookeeper.TransactionWatcher
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionWatcher
(ServerContext context) TransactionWatcher
(TransactionWatcher.Arbitrator arbitrator) -
Method Summary
-
Constructor Details
-
TransactionWatcher
-
TransactionWatcher
-
-
Method Details
-
runQuietly
Run task only if transaction is still active in zookeeper. If the tx is no longer active then that task is not run and a debug message is logged indicating the task was ignored. -
run
- Throws:
Exception
-
isActive
public boolean isActive(long tid)
-