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>
AnActionFuturethat listeners can be added to.
-
-
Method Summary
Modifier and Type Method Description voidaddListener(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.
-
-