io.netty.handler.traffic.TrafficCounter.class Maven / Gradle / Ivy
???? 2: 'io/netty/handler/traffic/TrafficCounter java/lang/Object TrafficCounter.java )io/netty/handler/traffic/TrafficCounter$1 =io/netty/handler/traffic/TrafficCounter$TrafficMonitoringTask TrafficMonitoringTask logger /Lio/netty/util/internal/logging/InternalLogger; currentWrittenBytes (Ljava/util/concurrent/atomic/AtomicLong; currentReadBytes writingTime J readingTime cumulativeWrittenBytes cumulativeReadBytes lastCumulativeTime lastWriteThroughput lastReadThroughput lastTime lastWrittenBytes
lastReadBytes lastWritingTime lastReadingTime realWrittenBytes realWriteThroughput
checkInterval name Ljava/lang/String; trafficShapingHandler 8Lio/netty/handler/traffic/AbstractTrafficShapingHandler; executor /Ljava/util/concurrent/ScheduledExecutorService; monitor Ljava/lang/Runnable; scheduledFuture &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>;
monitorActive Z milliSecondFromNano ()J java/lang/System / nanoTime 1 .
0 2 B@ start ()V + , 8 : - .
< &java/util/concurrent/atomic/AtomicLong > set (J)V @ A
? B D get F .
? G $ % I W(Lio/netty/handler/traffic/TrafficCounter;Lio/netty/handler/traffic/TrafficCounter$1;)V K L
M &