Package org.elasticsearch.transport
Class InboundPipeline
java.lang.Object
org.elasticsearch.transport.InboundPipeline
- All Implemented Interfaces:
Closeable,AutoCloseable,org.elasticsearch.core.Releasable
-
Constructor Summary
ConstructorsConstructorDescriptionInboundPipeline(StatsTracker statsTracker, LongSupplier relativeTimeInMillis, InboundDecoder decoder, InboundAggregator aggregator, BiConsumer<TcpChannel,InboundMessage> messageHandler)InboundPipeline(Version version, StatsTracker statsTracker, PageCacheRecycler recycler, LongSupplier relativeTimeInMillis, Supplier<CircuitBreaker> circuitBreaker, Function<String,RequestHandlerRegistry<TransportRequest>> registryFunction, BiConsumer<TcpChannel,InboundMessage> messageHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddoHandleBytes(TcpChannel channel, ReleasableBytesReference reference)voidhandleBytes(TcpChannel channel, ReleasableBytesReference reference)
-
Constructor Details
-
InboundPipeline
public InboundPipeline(Version version, StatsTracker statsTracker, PageCacheRecycler recycler, LongSupplier relativeTimeInMillis, Supplier<CircuitBreaker> circuitBreaker, Function<String,RequestHandlerRegistry<TransportRequest>> registryFunction, BiConsumer<TcpChannel,InboundMessage> messageHandler) -
InboundPipeline
public InboundPipeline(StatsTracker statsTracker, LongSupplier relativeTimeInMillis, InboundDecoder decoder, InboundAggregator aggregator, BiConsumer<TcpChannel,InboundMessage> messageHandler)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.elasticsearch.core.Releasable
-
handleBytes
- Throws:
IOException
-
doHandleBytes
public void doHandleBytes(TcpChannel channel, ReleasableBytesReference reference) throws IOException- Throws:
IOException
-