@ChannelHandler.Sharable
public class ConnectionWatchdog
extends io.netty.channel.ChannelInboundHandlerAdapter
Constructor and Description |
---|
ConnectionWatchdog(io.netty.bootstrap.Bootstrap bootstrap,
io.netty.channel.group.ChannelGroup channels,
io.netty.util.Timer timer) |
Modifier and Type | Method and Description |
---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
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.