All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.handler.traffic.TrafficCounter.class Maven / Gradle / Ivy

????2:'io/netty/handler/traffic/TrafficCounterjava/lang/ObjectTrafficCounter.java)io/netty/handler/traffic/TrafficCounter$1=io/netty/handler/traffic/TrafficCounter$TrafficMonitoringTaskTrafficMonitoringTasklogger/Lio/netty/util/internal/logging/InternalLogger;currentWrittenBytes(Ljava/util/concurrent/atomic/AtomicLong;currentReadByteswritingTimeJreadingTimecumulativeWrittenBytescumulativeReadByteslastCumulativeTimelastWriteThroughputlastReadThroughputlastTimelastWrittenBytes
lastReadByteslastWritingTimelastReadingTimerealWrittenBytesrealWriteThroughput
checkIntervalnameLjava/lang/String;trafficShapingHandler8Lio/netty/handler/traffic/AbstractTrafficShapingHandler;executor/Ljava/util/concurrent/ScheduledExecutorService;monitorLjava/lang/Runnable;scheduledFuture&Ljava/util/concurrent/ScheduledFuture;)Ljava/util/concurrent/ScheduledFuture<*>;
monitorActiveZmilliSecondFromNano()Jjava/lang/System/nanoTime1.
02B@start()V+,	8	:-.
<&java/util/concurrent/atomic/AtomicLong>set(J)V@A
?B	DgetF.
?G$%	IW(Lio/netty/handler/traffic/TrafficCounter;Lio/netty/handler/traffic/TrafficCounter$1;)VKL
	M&'	Ojava/util/concurrent/TimeUnitQMILLISECONDSLjava/util/concurrent/TimeUnit;ST	RU-java/util/concurrent/ScheduledExecutorServiceWschedule\(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;YZX[()	]this)Lio/netty/handler/traffic/TrafficCounter;localCheckIntervalstopresetAccountingcA
d"#	f6io/netty/handler/traffic/AbstractTrafficShapingHandlerhdoAccounting,(Lio/netty/handler/traffic/TrafficCounter;)Vjk
il$java/util/concurrent/ScheduledFuturencancel(Z)Zpqor	getAndSet(J)Jtu
?v	x-io/netty/util/internal/logging/InternalLoggerzisDebugEnabled()Z|}{~.
?java/lang/StringBuilder?K7
??Acct schedule not ok: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
?? > 2*? from ? !	?toString()Ljava/lang/String;??
??debug(Ljava/lang/String;)V??{?	?	?
	?	??	?	?	?	?	?	?java/lang/Math?max(JJ)J??
??	?	?newLastTimeintervalE(Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V
?
??	?	?KA
??java/lang/NullPointerException? K?
??java/lang/String?init?A
?}(Lio/netty/handler/traffic/AbstractTrafficShapingHandler;Ljava/util/concurrent/ScheduledExecutorService;Ljava/lang/String;J)V"java/lang/IllegalArgumentException?"
??currentTimeMillis?.
0?	?	configure?A
?
b7
?67
?newCheckIntervalnewIntervalbytesRecvFlowControl	addAndGet?u
??recvbytesWriteFlowControlwritebytesRealWriteFlowControlgetRealWrittenBytes*()Ljava/util/concurrent/atomic/AtomicLong;getRealWriteThroughputresetCumulativeTimereadTimeToWait(JJJ)JLjava/lang/Deprecated;(JJJJ)J??
?sizelimitTrafficmaxTime?A
?Time: ?(C)Ljava/lang/StringBuilder;?
?timenow
lastTimeChecksumlocalReadingTimelastRB	pastDelaylastsumlastintervalwriteTimeToWait?

?A
lastWBlocalWritingTime(I)VK
?Monitor  Current Speed Read:  KB/s, 
Asked Write: Real Write: Current Read:   KB, "Current asked Write: $Current real Write: & KB(4io/netty/util/internal/logging/InternalLoggerFactory+getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;-.
,/	SignatureCodeLineNumberTableLocalVariableTable
StackMapTable
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!
BBBB !"#$%&'@()1*@+, 	-.2 ?34m?3,!672?O*?9??*?;?=?C*?E?H@	??1*?J?**?9*?	Y*?N?P**?J*?P?V?\?^?4O_`5a3*
?????'?,?9?F?N?5?E!b72?6*?9??*?9*?=?e*?g?*?g*?m*?^?*?^?sW?46_`3&	???
???#?*?5?5 cA2=?*?;?weB!	????y??A!*??y??6?y??Y?????!?????*???????*????????**??	?w??**??	?w??**???i!m??**???i!m??**??	?w?i!m??**??*??????**??*???????4 ?_`????36
????(?[?g?s???????????5	??HK?2w*??*??Y????*??Y????*??Y????*??Y????*??Y???;*??Y????*??Y??ǵE,?
??Yʷ̿*?g*+?J*,??*!?ѱ4*w_`w$%w !w3>?27F%K0_;xF?T?X?bglqv5?bX?K?25?*??*??Y????*??Y????*??Y????*??Y????*??Y???;*??Y????*??Y??ǵE+?
??Yշֿ-?
??Yʷ̿*+?g*,?J*-??*?ѱ44?_`?"#?$%? !?3F27F%K0_;xF?TXbfp"u#z$&?'5?biX?
?A2x,*?ٵ?*?=??**????**????**????*?ޱ4,_`,3+,-./&0+1?A2?3?m?iB*?E!?w!??!	??*??*?;?=?C?*??4 3_`3?
)?39
:;<!>.A2D5?.?A2O*????X*????X?4_`?3M	NO?A2O*????X*????X?4_`?3X	YZ?A2B
*????X?4
_`
?3
c	d.22*?E?H?4_`3k.2/*???4_`3r.2/*???4_`3y.2/*???4_`3?.2/*???4_`3?.22*???H?4_`3?
.22*???H?4_`3?.22*?;?H?4_`3?.22*?öH?4_`3?.22*?ŶH?4_`3?.2/*?ۭ4_`3???2/*???4_`3??.2/*???4_`3??72N*?ٵ?*??	?C*??	?C?4_`3???? ?2/*???4_`3???2T	*!?=???4*_`???3?67???2??*??	??	!	??	?*?;?H7	*???H7*??7
*??7	e7*??	e	??7ߔ???i!mea7ߔ?s?y??=?y??Y???????:???:???:?????????a
e??7*
a?????*
????	?a7*?E?Ha7?i!mea7ߔ?s?y??=?y??Y???????:???:???:?????????a
e??7*
a?????*
????	?4?^??_`???????q	%h+b
1\8U?EH	??
???3? ?????%?+?1?8?E?N?^gr?????
????Uko}??5&	????p?2T	*!?=??4*_`???3-67??2??*?	??	!	??	?*?;?H7	*???H7*??7
*??7*??	e	??7	e7ߔ???i!mea7ߔ?s?y??=?y??Y???????:???:???:?????????ae??7*a?????*????	?
a7*?E?Ha7?i!mea7ߔ?s?y??=?y??Y???????:???:???:?????????ae??7*a?????*????	?4?^??_`???????q	%h+b
1\>O	EH???
???3? >?@BC%D+E1F>GEHNJ^KgLrM?O?P?R?S?U?V?Y?Z?[\]^U`kaoc}d?f?g5&	????p??2????Y????*??????*??
{??????*??
{??????*??
{????!??*???H
{??#??%??*???H
{??#??'??*???H
{??)?????4?_`3"lm0nFo\puq?r?l*72!	?0?y?3&89	





© 2015 - 2025 Weber Informatics LLC | Privacy Policy