Class ActionListener.RunAfterActionListener<T>

java.lang.Object
org.elasticsearch.action.ActionListener.Delegating<T,​T>
org.elasticsearch.action.ActionListener.RunAfterActionListener<T>
All Implemented Interfaces:
ActionListener<T>
Enclosing interface:
ActionListener<Response>

public static final class ActionListener.RunAfterActionListener<T>
extends ActionListener.Delegating<T,​T>
  • Constructor Details

    • RunAfterActionListener

      protected RunAfterActionListener​(ActionListener<T> delegate, java.lang.Runnable runAfter)
  • Method Details

    • onResponse

      public void onResponse​(T response)
      Description copied from interface: ActionListener
      Handle action response. This response may constitute a failure or a success but it is up to the listener to make that decision.
    • onFailure

      public void onFailure​(java.lang.Exception e)
      Description copied from interface: ActionListener
      A failure caused by an exception at some phase of the task.
      Specified by:
      onFailure in interface ActionListener<T>
      Overrides:
      onFailure in class ActionListener.Delegating<T,​T>
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class ActionListener.Delegating<T,​T>