ActionListener<SearchPhaseResult>public final class SearchExecutionStatsCollector extends java.lang.Object implements ActionListener<SearchPhaseResult>
ResponseCollectorService.| Modifier and Type | Method | Description |
|---|---|---|
static java.util.function.BiFunction<Transport.Connection,org.elasticsearch.action.search.SearchActionListener,ActionListener> |
makeWrapper(ResponseCollectorService service) |
|
void |
onFailure(java.lang.Exception e) |
A failure caused by an exception at some phase of the task.
|
void |
onResponse(SearchPhaseResult response) |
Handle action response.
|
onFailure, onResponse, toBiConsumer, wrap, wrappublic static java.util.function.BiFunction<Transport.Connection,org.elasticsearch.action.search.SearchActionListener,ActionListener> makeWrapper(ResponseCollectorService service)
public void onResponse(SearchPhaseResult response)
ActionListeneronResponse in interface ActionListener<SearchPhaseResult>public void onFailure(java.lang.Exception e)
ActionListeneronFailure in interface ActionListener<SearchPhaseResult>