org.apache.accumulo.fate.zookeeper
Class TransactionWatcher

java.lang.Object
  extended by org.apache.accumulo.fate.zookeeper.TransactionWatcher
Direct Known Subclasses:
TransactionWatcher

public class TransactionWatcher
extends Object


Nested Class Summary
static interface TransactionWatcher.Arbitrator
           
 
Constructor Summary
TransactionWatcher(TransactionWatcher.Arbitrator arbitrator)
           
 
Method Summary
 boolean isActive(long tid)
           
<T> T
run(String ztxBulk, long tid, Callable<T> callable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionWatcher

public TransactionWatcher(TransactionWatcher.Arbitrator arbitrator)
Method Detail

run

public <T> T run(String ztxBulk,
                 long tid,
                 Callable<T> callable)
      throws Exception
Throws:
Exception

isActive

public boolean isActive(long tid)


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.