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.
|
public static java.util.function.BiFunction<Transport.Connection,org.elasticsearch.action.search.SearchActionListener,ActionListener> makeWrapper(ResponseCollectorService service)
public void onResponse(SearchPhaseResult response)
ActionListener
onResponse
in interface ActionListener<SearchPhaseResult>
public void onFailure(java.lang.Exception e)
ActionListener
onFailure
in interface ActionListener<SearchPhaseResult>