Class ThreadedActionListener<Response>

java.lang.Object
org.elasticsearch.action.support.AbstractThreadedActionListener<Response>
org.elasticsearch.action.support.ThreadedActionListener<Response>
All Implemented Interfaces:
ActionListener<Response>

public final class ThreadedActionListener<Response> extends AbstractThreadedActionListener<Response>
An action listener that wraps another action listener and dispatches its completion to an executor.
  • Constructor Details

  • Method Details

    • onResponse

      public void onResponse(Response 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.