Class ChannelHandler
java.lang.Object
org.infinispan.client.hotrod.impl.transport.netty.ChannelHandler
-
Constructor Summary
ConstructorsConstructorDescriptionChannelHandler(Configuration configuration, String sniHostName, ExecutorService executorService, OperationDispatcher dispatcher, Consumer<io.netty.channel.ChannelPipeline> pipelineDecorator) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()List<HotRodOperation<?>> closeChannel(SocketAddress address) org.infinispan.client.hotrod.impl.transport.netty.ChannelInitializercreateChannelInitializer(SocketAddress address, io.netty.bootstrap.Bootstrap bootstrap) protected OperationChannelcreateOperationChannel(org.infinispan.client.hotrod.impl.transport.netty.ChannelInitializer channelInitializer, SocketAddress address) getChannelForAddress(SocketAddress socketAddress) io.reactivex.rxjava3.core.Flowable<HotRodOperation<?>> startChannelIfNeeded(SocketAddress socketAddress) <E> CompletionStage<E> submitOperation(HotRodOperation<E> operation, SocketAddress socketAddress)
-
Constructor Details
-
ChannelHandler
public ChannelHandler(Configuration configuration, String sniHostName, ExecutorService executorService, OperationDispatcher dispatcher, Consumer<io.netty.channel.ChannelPipeline> pipelineDecorator)
-
-
Method Details
-
submitOperation
public <E> CompletionStage<E> submitOperation(HotRodOperation<E> operation, SocketAddress socketAddress) -
startChannelIfNeeded
-
closeChannel
-
close
public void close() -
createChannelInitializer
public org.infinispan.client.hotrod.impl.transport.netty.ChannelInitializer createChannelInitializer(SocketAddress address, io.netty.bootstrap.Bootstrap bootstrap) -
createOperationChannel
protected OperationChannel createOperationChannel(org.infinispan.client.hotrod.impl.transport.netty.ChannelInitializer channelInitializer, SocketAddress address) -
pendingOperationFlowable
-
gatherOperations
-
getChannelForAddress
-