Package org.elasticsearch.http
Class HttpPipeliningAggregator<Listener>
java.lang.Object
org.elasticsearch.http.HttpPipeliningAggregator<Listener>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread(HttpRequest request)
List<org.elasticsearch.core.Tuple<HttpPipelinedResponse,Listener>>
List<org.elasticsearch.core.Tuple<HttpPipelinedResponse,Listener>>
write(HttpPipelinedResponse response, Listener listener)
-
Constructor Details
-
HttpPipeliningAggregator
public HttpPipeliningAggregator(int maxEventsHeld)
-
-
Method Details
-
read
-
write
public List<org.elasticsearch.core.Tuple<HttpPipelinedResponse,Listener>> write(HttpPipelinedResponse response, Listener listener) -
removeAllInflightResponses
public List<org.elasticsearch.core.Tuple<HttpPipelinedResponse,Listener>> removeAllInflightResponses()
-