Package org.opensearch.transport
Class InboundAggregator
java.lang.Object
org.opensearch.transport.InboundAggregator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.opensearch.common.lease.Releasable
Aggregates inbound data
- Opensearch.internal:
-
Constructor Summary
ConstructorsConstructorDescriptionInboundAggregator
(Supplier<org.opensearch.core.common.breaker.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<org.opensearch.core.common.breaker.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.opensearch.common.lease.Releasable
-