Example usage for Java io.netty.handler.traffic GlobalTrafficShapingHandler fields, constructors, methods, implement or subclass
The text is from its open source code.
GlobalTrafficShapingHandler(ScheduledExecutorService executor, long checkInterval) Create a new instance using default max time as delay allowed value of 15000 ms and no limit. | |
GlobalTrafficShapingHandler(ScheduledExecutorService executor, long writeLimit, long readLimit) Create a new instance using default Check Interval value of 1000 ms and default max time as delay allowed value of 15000 ms. | |
GlobalTrafficShapingHandler(EventExecutor executor) Create a new instance using default Check Interval value of 1000 ms and default max time as delay allowed value of 15000 ms and no limit. |
TrafficCounter | trafficCounter() |