Package org.elasticsearch.action
Interface ListenableActionFuture<T>
-
- All Superinterfaces:
ActionFuture<T>
,java.util.concurrent.Future<T>
- All Known Implementing Classes:
PlainListenableActionFuture
public interface ListenableActionFuture<T> extends ActionFuture<T>
AnActionFuture
that listeners can be added to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addListener(ActionListener<T> listener)
Add an action listener to be invoked when a response has received.
-
-
-
Method Detail
-
addListener
void addListener(ActionListener<T> listener)
Add an action listener to be invoked when a response has received.
-
-