org.apache.accumulo.server.zookeeper
Class TransactionWatcher

java.lang.Object
  extended by org.apache.accumulo.server.zookeeper.TransactionWatcher

public class TransactionWatcher
extends Object


Nested Class Summary
static interface TransactionWatcher.Arbitrator
           
static class TransactionWatcher.ZooArbitrator
           
 
Constructor Summary
TransactionWatcher()
           
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)

TransactionWatcher

public TransactionWatcher()
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 © 2012 The Apache Software Foundation. All Rights Reserved.