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>
An
ActionFuture
that listeners can be added to.-
Method Summary
Modifier and Type Method Description void
addListener(ActionListener<T> listener)
Add an action listener to be invoked when a response has received.
-
Method Details
-
addListener
Add an action listener to be invoked when a response has received.
-