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