Package org.elasticsearch.transport
Class InboundAggregator
java.lang.Object
org.elasticsearch.transport.InboundAggregator
- All Implemented Interfaces:
Closeable
,AutoCloseable
,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
void
updateCompressionScheme
(Compression.Scheme compressionScheme)
-
Constructor Details
-
InboundAggregator
public InboundAggregator(Supplier<CircuitBreaker> circuitBreaker, Function<String, RequestHandlerRegistry<TransportRequest>> registryFunction)
-
-
Method Details
-
headerReceived
-
updateCompressionScheme
-
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 interfaceReleasable
-