public static class TransportClientNodesService.RetryListener<Response> extends Object implements ActionListener<Response>
Constructor and Description |
---|
TransportClientNodesService.RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback,
ActionListener<Response> listener,
List<DiscoveryNode> nodes,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(Throwable e)
A failure handler.
|
void |
onResponse(Response response)
A response handler.
|
public TransportClientNodesService.RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback, ActionListener<Response> listener, List<DiscoveryNode> nodes, int index)
public void onResponse(Response response)
ActionListener
onResponse
in interface ActionListener<Response>
public void onFailure(Throwable e)
ActionListener
onFailure
in interface ActionListener<Response>
Copyright © 2009–2016. All rights reserved.