io.netty.handler.traffic.GlobalChannelTrafficCounter.class Maven / Gradle / Ivy
???? 2 ? 4io/netty/handler/traffic/GlobalChannelTrafficCounter 'io/netty/handler/traffic/TrafficCounter GlobalChannelTrafficCounter.java Oio/netty/handler/traffic/GlobalChannelTrafficCounter$MixedTrafficMonitoringTask MixedTrafficMonitoringTask Fio/netty/handler/traffic/GlobalChannelTrafficShapingHandler$PerChannel ;io/netty/handler/traffic/GlobalChannelTrafficShapingHandler
PerChannel ?(Lio/netty/handler/traffic/GlobalChannelTrafficShapingHandler;Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V }(Lio/netty/handler/traffic/AbstractTrafficShapingHandler;Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V
"java/lang/IllegalArgumentException Executor must not be null (Ljava/lang/String;)V
-java/util/concurrent/ScheduledExecutorService java/lang/String this 6Lio/netty/handler/traffic/GlobalChannelTrafficCounter; trafficShapingHandler =Lio/netty/handler/traffic/GlobalChannelTrafficShapingHandler; executor /Ljava/util/concurrent/ScheduledExecutorService; name Ljava/lang/String;
checkInterval J start ()V
monitorActive Z * + , lastTime (Ljava/util/concurrent/atomic/AtomicLong; . / 0 milliSecondFromNano ()J 2 3
4 &java/util/concurrent/atomic/AtomicLong 6 set (J)V 8 9
7 : &