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.

    Methods inherited from interface org.elasticsearch.action.ActionFuture

    actionGet, actionGet, actionGet, actionGet, actionGet

    Methods inherited from interface java.util.concurrent.Future

    cancel, get, get, isCancelled, isDone
  • Method Details

    • addListener

      void addListener​(ActionListener<T> listener)
      Add an action listener to be invoked when a response has received.