classes.io.netty.handler.traffic.GlobalChannelTrafficCounter.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
B C D
E F G
H
I J K
I L M N O
P Q R S T U V W
X
Y Z [ \
] ^ _ ` a b c b d e f
g h i MixedTrafficMonitoringTask InnerClasses ?(Lio/netty/handler/traffic/GlobalChannelTrafficShapingHandler;Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V Code LineNumberTable LocalVariableTable this 6Lio/netty/handler/traffic/GlobalChannelTrafficCounter; trafficShapingHandler =Lio/netty/handler/traffic/GlobalChannelTrafficShapingHandler; executor /Ljava/util/concurrent/ScheduledExecutorService; name Ljava/lang/String;
checkInterval J
StackMapTable h O j k start ()V localCheckInterval stop resetCumulativeTime
perChannel
PerChannel HLio/netty/handler/traffic/GlobalChannelTrafficShapingHandler$PerChannel; l
SourceFile GlobalChannelTrafficCounter.java # m "java/lang/IllegalArgumentException Executor must not be null # n o p q r s t u v w 0 r x t Oio/netty/handler/traffic/GlobalChannelTrafficCounter$MixedTrafficMonitoringTask * y ;io/netty/handler/traffic/GlobalChannelTrafficShapingHandler # z { | , - } ~ j ? ? ? ? ? w ? ? ? ? ? ? ? ? ? ? ? ? ? ? l ? ? ? ? Fio/netty/handler/traffic/GlobalChannelTrafficShapingHandler$PerChannel ? ? ; 8 4io/netty/handler/traffic/GlobalChannelTrafficCounter 'io/netty/handler/traffic/TrafficCounter -java/util/concurrent/ScheduledExecutorService java/lang/String java/util/Iterator }(Lio/netty/handler/traffic/AbstractTrafficShapingHandler;Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V (Ljava/lang/String;)V
monitorActive Z lastTime (Ljava/util/concurrent/atomic/AtomicLong; milliSecondFromNano ()J &java/util/concurrent/atomic/AtomicLong set (J)V get 8Lio/netty/handler/traffic/AbstractTrafficShapingHandler; i(Lio/netty/handler/traffic/GlobalChannelTrafficShapingHandler;Lio/netty/handler/traffic/TrafficCounter;)V monitor Ljava/lang/Runnable; java/util/concurrent/TimeUnit MILLISECONDS Ljava/util/concurrent/TimeUnit; scheduleAtFixedRate ](Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture; scheduledFuture &Ljava/util/concurrent/ScheduledFuture; resetAccounting 6io/netty/handler/traffic/AbstractTrafficShapingHandler doAccounting ,(Lio/netty/handler/traffic/TrafficCounter;)V $java/util/concurrent/ScheduledFuture cancel (Z)Z
channelQueues $Ljava/util/concurrent/ConcurrentMap; "java/util/concurrent/ConcurrentMap values ()Ljava/util/Collection; java/util/Collection iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; channelTrafficCounter )Lio/netty/handler/traffic/TrafficCounter; ! # $ % ? *+,-? ,?
? Y? ?? &