Package org.elasticsearch.transport
Class InboundPipeline
java.lang.Object
org.elasticsearch.transport.InboundPipeline
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Releasable
-
Constructor Summary
ConstructorDescriptionInboundPipeline
(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 TypeMethodDescriptionvoid
close()
void
doHandleBytes
(TcpChannel channel, ReleasableBytesReference reference) void
handleBytes
(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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceReleasable
-
handleBytes
- Throws:
IOException
-
doHandleBytes
public void doHandleBytes(TcpChannel channel, ReleasableBytesReference reference) throws IOException - Throws:
IOException
-