Module org.elasticsearch.compute
Class ResponseHeadersCollector
java.lang.Object
org.elasticsearch.compute.operator.ResponseHeadersCollector
A helper class that can be used to collect and merge response headers from multiple child requests.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResponseHeadersCollector
-
-
Method Details
-
collect
public void collect()Called when a child request is completed to collect the response headers of the responding thread -
finish
public void finish()Called when all child requests are completed. This will merge all collected response headers from the child requests and restore to the current thread.
-