org.apache.accumulo.fate
Class Fate<T>

java.lang.Object
  extended by org.apache.accumulo.fate.Fate<T>

public class Fate<T>
extends Object

Fault tolerant executor


Constructor Summary
Fate(T environment, TStore<T> store, int numThreads)
           
 
Method Summary
 void delete(long tid)
           
 Exception getException(long tid)
           
 String getReturn(long tid)
           
 void seedTransaction(long tid, Repo<T> repo, boolean autoCleanUp)
           
 void shutdown()
          Flags that FATE threadpool to clear out and end.
 long startTransaction()
           
 ReadOnlyTStore.TStatus waitForCompletion(long tid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fate

public Fate(T environment,
            TStore<T> store,
            int numThreads)
Method Detail

startTransaction

public long startTransaction()

seedTransaction

public void seedTransaction(long tid,
                            Repo<T> repo,
                            boolean autoCleanUp)

waitForCompletion

public ReadOnlyTStore.TStatus waitForCompletion(long tid)

delete

public void delete(long tid)

getReturn

public String getReturn(long tid)

getException

public Exception getException(long tid)

shutdown

public void shutdown()
Flags that FATE threadpool to clear out and end. Does not actively stop running FATE processes.



Copyright © 2015 Apache Accumulo Project. All rights reserved.