- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelHandler.Sharable
public class PerformanceFilter
extends org.jboss.netty.channel.SimpleChannelHandler
Measures the number of outgoing and incoming packets. This is used to test
the performance. The logger is set to debug and will only output if the msg/s
is larger than 1. To enable the performance, set in tomp2plog.properties
"net.tomp2p.connection.PerformanceFilter.level = FINE"
- Author:
- Thomas Bocek