io.netty.channel.ChannelHandler
, io.netty.channel.ChannelInboundHandler
@Sharable
public class ConnectionWatchdog
extends io.netty.channel.ChannelInboundHandlerAdapter
Constructor | Description |
---|---|
ConnectionWatchdog(io.netty.bootstrap.Bootstrap bootstrap,
io.netty.channel.group.ChannelGroup channels,
io.netty.util.Timer timer) |
Modifier and Type | Method | Description |
---|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
|
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public ConnectionWatchdog(io.netty.bootstrap.Bootstrap bootstrap, io.netty.channel.group.ChannelGroup channels, io.netty.util.Timer timer)
Copyright © 2014–2018 The Redisson Project. All rights reserved.