org.elasticsearch.client.transport
Class TransportClientNodesService.RetryListener<Response>

java.lang.Object
  extended by org.elasticsearch.client.transport.TransportClientNodesService.RetryListener<Response>
All Implemented Interfaces:
ActionListener<Response>
Enclosing class:
TransportClientNodesService

public static class TransportClientNodesService.RetryListener<Response>
extends Object
implements ActionListener<Response>


Constructor Summary
TransportClientNodesService.RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback, ActionListener<Response> listener, com.google.common.collect.ImmutableList<DiscoveryNode> nodes, int index)
           
 
Method Summary
 void onFailure(Throwable e)
          A failure handler.
 void onResponse(Response response)
          A response handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportClientNodesService.RetryListener

public TransportClientNodesService.RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback,
                                                 ActionListener<Response> listener,
                                                 com.google.common.collect.ImmutableList<DiscoveryNode> nodes,
                                                 int index)
Method Detail

onResponse

public void onResponse(Response response)
Description copied from interface: ActionListener
A response handler.

Specified by:
onResponse in interface ActionListener<Response>

onFailure

public void onFailure(Throwable e)
Description copied from interface: ActionListener
A failure handler.

Specified by:
onFailure in interface ActionListener<Response>


Copyright © 2009-2012. All Rights Reserved.