private static class SettableListenableFuture.SettableTask<T> extends ListenableFutureTask<T>
Modifier and Type | Field and Description |
---|---|
private java.lang.Thread |
completingThread |
Constructor and Description |
---|
SettableTask() |
Modifier and Type | Method and Description |
---|---|
private boolean |
checkCompletingThread() |
protected void |
done() |
boolean |
setExceptionResult(java.lang.Throwable exception) |
boolean |
setResultValue(T value) |
addCallback, addCallback
cancel, get, get, isCancelled, isDone, run, runAndReset, set, setException
public boolean setResultValue(T value)
public boolean setExceptionResult(java.lang.Throwable exception)
protected void done()
done
in class ListenableFutureTask<T>
private boolean checkCompletingThread()