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 void
aggregate(ReleasableBytesReference content)
void
close()
InboundMessage
finishAggregation()
void
headerReceived(Header header)
boolean
isAggregating()
-
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:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfaceReleasable
-