public abstract class AbstractListenableActionFuture<T,L> extends AdapterActionFuture<T,L> implements ListenableActionFuture<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractListenableActionFuture(ThreadPool threadPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ActionListener<T> listener)
Add an action listener to be invoked when a response has received.
|
protected void |
done() |
void |
internalAddListener(ActionListener<T> listener) |
ThreadPool |
threadPool() |
actionGet, actionGet, actionGet, actionGet, actionGet, convert, onFailure, onResponsecancel, get, get, interruptTask, isCancelled, isDone, set, setExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactionGet, actionGet, actionGet, actionGet, actionGetonFailure, onResponse, wrapprotected AbstractListenableActionFuture(ThreadPool threadPool)
public ThreadPool threadPool()
public void addListener(ActionListener<T> listener)
ListenableActionFutureaddListener in interface ListenableActionFuture<T>public void internalAddListener(ActionListener<T> listener)
protected void done()
done in class BaseFuture<T>