Class ChannelActionListener<Response extends TransportResponse,​Request extends TransportRequest>

java.lang.Object
org.elasticsearch.action.support.ChannelActionListener<Response,​Request>
All Implemented Interfaces:
ActionListener<Response>

public final class ChannelActionListener<Response extends TransportResponse,​Request extends TransportRequest>
extends java.lang.Object
implements ActionListener<Response>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.elasticsearch.action.ActionListener

    ActionListener.MappedActionListener<Response,​MappedResponse>
  • Constructor Summary

    Constructors
    Constructor Description
    ChannelActionListener​(TransportChannel channel, java.lang.String actionName, Request request)  
  • Method Summary

    Modifier and Type Method Description
    void onFailure​(java.lang.Exception e)
    A failure caused by an exception at some phase of the task.
    void onResponse​(Response response)
    Handle action response.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.elasticsearch.action.ActionListener

    map