Package org.elasticsearch.transport
Class InboundAggregator
java.lang.Object
org.elasticsearch.transport.InboundAggregator
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,Releasable
public class InboundAggregator extends java.lang.Object implements Releasable
-
Constructor Summary
Constructors Constructor Description InboundAggregator(java.util.function.Supplier<CircuitBreaker> circuitBreaker, java.util.function.Function<java.lang.String,RequestHandlerRegistry<TransportRequest>> registryFunction) -
Method Summary
Modifier and Type Method Description voidaggregate(ReleasableBytesReference content)voidclose()InboundMessagefinishAggregation()voidheaderReceived(Header header)booleanisAggregating()
-
Constructor Details
-
InboundAggregator
public InboundAggregator(java.util.function.Supplier<CircuitBreaker> circuitBreaker, java.util.function.Function<java.lang.String,RequestHandlerRegistry<TransportRequest>> registryFunction)
-
-
Method Details
-
headerReceived
-
aggregate
-
finishAggregation
- Throws:
java.io.IOException
-
isAggregating
public boolean isAggregating() -
close
public void close()- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceReleasable
-