Package org.elasticsearch.transport
Class InboundAggregator
java.lang.Object
org.elasticsearch.transport.InboundAggregator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
-
Constructor Summary
ConstructorDescriptionInboundAggregator(Supplier<CircuitBreaker> circuitBreaker, Function<String,RequestHandlerRegistry<TransportRequest>> registryFunction)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
aggregate(ReleasableBytesReference content)
void
close()
void
headerReceived(Header header)
boolean
-
Constructor Details
-
InboundAggregator
public InboundAggregator(Supplier<CircuitBreaker> circuitBreaker, Function<String,RequestHandlerRegistry<TransportRequest>> registryFunction)
-
-
Method Details
-
headerReceived
-
aggregate
-
finishAggregation
- Throws:
IOException
-
isAggregating
public boolean isAggregating() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-