public static class TransportClientNodesService.RetryListener<Response> extends java.lang.Object implements ActionListener<Response>
Constructor and Description |
---|
RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback,
ActionListener<Response> listener,
java.util.List<DiscoveryNode> nodes,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
onFailure(java.lang.Throwable e)
A failure caused by an exception at some phase of the task.
|
void |
onResponse(Response response)
Handle action response.
|
public RetryListener(TransportClientNodesService.NodeListenerCallback<Response> callback, ActionListener<Response> listener, java.util.List<DiscoveryNode> nodes, int index)
public void onResponse(Response response)
ActionListener
onResponse
in interface ActionListener<Response>
public void onFailure(java.lang.Throwable e)
ActionListener
onFailure
in interface ActionListener<Response>