Class TimeoutEnabledChannelInitializer<C extends ProtocolServerConfiguration>
- java.lang.Object
-
- org.infinispan.server.hotrod.transport.TimeoutEnabledChannelInitializer<C>
-
- All Implemented Interfaces:
NettyInitializer
public class TimeoutEnabledChannelInitializer<C extends ProtocolServerConfiguration> extends Object implements NettyInitializer
A channel pipeline factory for environments where idle timeout is enabled. This is a trait, useful to extend by an implementation channel initializer.- Since:
- 5.1
- Author:
- Galder ZamarreƱo, William Burns
-
-
Constructor Summary
Constructors Constructor Description TimeoutEnabledChannelInitializer(ProtocolServer<C> hotRodServer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initializeChannel(io.netty.channel.Channel ch)
Initialize netty channel
-
-
-
Constructor Detail
-
TimeoutEnabledChannelInitializer
public TimeoutEnabledChannelInitializer(ProtocolServer<C> hotRodServer)
-
-
Method Detail
-
initializeChannel
public void initializeChannel(io.netty.channel.Channel ch) throws Exception
Description copied from interface:NettyInitializer
Initialize netty channel- Specified by:
initializeChannel
in interfaceNettyInitializer
- Throws:
Exception
-
-