@ChannelHandler.Sharable public class OpenChannelsHandler extends Object implements org.jboss.netty.channel.ChannelUpstreamHandler
Constructor and Description |
---|
OpenChannelsHandler(ESLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e) |
long |
numberOfOpenChannels() |
long |
totalChannels() |
public OpenChannelsHandler(ESLogger logger)
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelEvent e) throws Exception
handleUpstream
in interface org.jboss.netty.channel.ChannelUpstreamHandler
Exception
public long numberOfOpenChannels()
public long totalChannels()
public void close()
Copyright © 2009–2017. All rights reserved.