org.apache.accumulo.fate
Class Fate<T>
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Fate
public Fate(T environment,
TStore<T> store,
int numThreads)
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.