Class IdleConnectionReaperHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelDuplexHandler
-
- io.netty.handler.timeout.IdleStateHandler
-
- software.amazon.awssdk.http.nio.netty.internal.IdleConnectionReaperHandler
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
,io.netty.channel.ChannelOutboundHandler
public class IdleConnectionReaperHandler extends io.netty.handler.timeout.IdleStateHandler
A handler that closes unused channels that have not had any traffic on them for a configurable amount of time.
-
-
Constructor Summary
Constructors Constructor Description IdleConnectionReaperHandler(int maxIdleTimeMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
channelIdle(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.timeout.IdleStateEvent event)
-
Methods inherited from class io.netty.handler.timeout.IdleStateHandler
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, getAllIdleTimeInMillis, getReaderIdleTimeInMillis, getWriterIdleTimeInMillis, handlerAdded, handlerRemoved, newIdleStateEvent, write
-
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read
-
-