public class AnalysisFuture<V> extends FutureTask<V>
| Constructor and Description |
|---|
AnalysisFuture(Callable<V> callable) |
AnalysisFuture(Runnable runnable,
V result) |
| Modifier and Type | Method and Description |
|---|---|
V |
ensureDone()
Run the task, wait for it to complete if necessary, then retrieve its result.
|
V |
guardedGet() |
protected void |
setException(Throwable t) |
cancel, done, get, get, isCancelled, isDone, run, runAndReset, set, toStringprotected void setException(Throwable t)
setException in class FutureTask<V>public V ensureDone()
public V guardedGet()