classes.io.netty.handler.traffic.GlobalChannelTrafficCounter.class Maven / Gradle / Ivy
???? 2 ?
D E F
G H I
J
K L M
K N O P Q
R S T U V W X Y
Z
[ \ ] ^
_ ` a b c d e d f g h
i j k 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 j Q l m start ()V localCheckInterval stop resetCumulativeTime
perChannel
PerChannel HLio/netty/handler/traffic/GlobalChannelTrafficShapingHandler$PerChannel; i$ Ljava/util/Iterator; n
SourceFile GlobalChannelTrafficCounter.java # o "java/lang/IllegalArgumentException Executor must not be null # p q r s t u v w x y 0 t z v Oio/netty/handler/traffic/GlobalChannelTrafficCounter$MixedTrafficMonitoringTask * { ;io/netty/handler/traffic/GlobalChannelTrafficShapingHandler # | } ~ , - ? ? l ? ? ? ? ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? n ? ? ? ? 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; schedule \(Ljava/lang/Runnable;JLjava/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? ?? &