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

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

There is a newer version: 129
Show newest version
????2?6io/netty/handler/traffic/AbstractTrafficShapingHandler%io/netty/channel/ChannelDuplexHandler"AbstractTrafficShapingHandler.javaJio/netty/handler/traffic/AbstractTrafficShapingHandler$ReopenReadTimerTaskReopenReadTimerTaskio/netty/channel/Channel$Unsafe	io/netty/channel/ChannelUnsafelogger/Lio/netty/util/internal/logging/InternalLogger;DEFAULT_CHECK_INTERVALJ?DEFAULT_MAX_TIME:?DEFAULT_MAX_SIZE@MINIMAL_WAIT
trafficCounter)Lio/netty/handler/traffic/TrafficCounter;
writeLimit	readLimitmaxTime
checkIntervalREAD_SUSPENDEDLio/netty/util/AttributeKey;1Lio/netty/util/AttributeKey;REOPEN_TASK2Lio/netty/util/AttributeKey;
maxWriteDelaymaxWriteSizeuserDefinedWritabilityIndexI.CHANNEL_DEFAULT_USER_DEFINED_WRITABILITY_INDEX-GLOBAL_DEFAULT_USER_DEFINED_WRITABILITY_INDEX4GLOBALCHANNEL_DEFAULT_USER_DEFINED_WRITABILITY_INDEXsetTrafficCounter,(Lio/netty/handler/traffic/TrafficCounter;)V	4this8Lio/netty/handler/traffic/AbstractTrafficShapingHandler;newTrafficCounter()I(JJJJ)V()V:<
=!	?"	A?(	E)	G"java/lang/IllegalArgumentExceptionImaxTime must be positiveK(Ljava/lang/String;)V:M
JN*9
P*+	R	T 	V(JJJ)V:;
Y(JJ)V(J)V	configure][
^]\
`
newWriteLimitnewReadLimitnewCheckInterval'io/netty/handler/traffic/TrafficCounteremilliSecondFromNano()Jgh
firesetAccountingk\
fl
f`
getWriteLimit
setWriteLimitgetReadLimitsetReadLimitgetCheckIntervalsetCheckIntervalsetMaxTimeWaitgetMaxTimeWaitgetMaxWriteDelaysetMaxWriteDelaymaxWriteDelay must be positiveygetMaxWriteSizesetMaxWriteSizedoAccountingcounterreleaseReadSuspended+(Lio/netty/channel/ChannelHandlerContext;)V#$	?&io/netty/channel/ChannelHandlerContext?attr7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute;????java/lang/Boolean?valueOf(Z)Ljava/lang/Boolean;??
??io/netty/util/Attribute?set(Ljava/lang/Object;)V????channel()Lio/netty/channel/Channel;????config"()Lio/netty/channel/ChannelConfig;???io/netty/channel/ChannelConfig?setAutoRead#(Z)Lio/netty/channel/ChannelConfig;????ctx(Lio/netty/channel/ChannelHandlerContext;channelRead=(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)Vjava/lang/Exception?
calculateSize(Ljava/lang/Object;)J??
?readTimeToWait(JJJJ)J??
f?checkWaitReadTime-(Lio/netty/channel/ChannelHandlerContext;JJ)J??
?	?-io/netty/util/internal/logging/InternalLogger?isDebugEnabled()Z????java/lang/StringBuilder?
?=Read suspend: ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(J)Ljava/lang/StringBuilder;??
??(C)Ljava/lang/StringBuilder;??
??
isAutoRead????(Z)Ljava/lang/StringBuilder;??
??isHandlerActive+(Lio/netty/channel/ChannelHandlerContext;)Z??
?toString()Ljava/lang/String;??
??debug?M??java/lang/Object?&$	?get()Ljava/lang/Object;????java/lang/Runnable?:?
?executor*()Lio/netty/util/concurrent/EventExecutor;????java/util/concurrent/TimeUnit?MILLISECONDSLjava/util/concurrent/TimeUnit;??	??&io/netty/util/concurrent/EventExecutor?schedule`(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture;????Suspend final status => ? will reopened at: ?informReadOperation,(Lio/netty/channel/ChannelHandlerContext;J)V??
?fireChannelRead<(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext;?/Lio/netty/util/Attribute;Lio/netty/util/Attribute;
reopenTaskLjava/lang/Runnable; Lio/netty/channel/ChannelConfig;waitmsgLjava/lang/Object;sizenowFALSELjava/lang/Boolean;	?equals(Ljava/lang/Object;)Z
?	suspendedread*()Lio/netty/channel/ChannelHandlerContext;?write^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)VwriteTimeToWait?
fWrite suspend: !submitWritea(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;JJJLio/netty/channel/ChannelPromise;)V#$
%promise!Lio/netty/channel/ChannelPromise;_(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;JLio/netty/channel/ChannelPromise;)VLjava/lang/Deprecated;delaychannelRegisteredsetUserDefinedWritability,(Lio/netty/channel/ChannelHandlerContext;Z)V-.
/,?
1unsafe#()Lio/netty/channel/Channel$Unsafe;345outboundBuffer*()Lio/netty/channel/ChannelOutboundBuffer;78
9&io/netty/channel/ChannelOutboundBuffer;(IZ)V-=
<>writableZcob(Lio/netty/channel/ChannelOutboundBuffer;checkWriteSuspend-(Lio/netty/channel/ChannelHandlerContext;JJ)V	queueSizereleaseWriteSuspended+()Lio/netty/handler/traffic/TrafficCounter;(I)V:I
?J!TrafficShaping with Write Limit: L
 Read Limit: N CheckInterval: P maxDelay: R
 maxSize: T and Counter: V-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?X
?Ynone[builderLjava/lang/StringBuilder;io/netty/buffer/ByteBuf_
readableBytesa9
`bio/netty/buffer/ByteBufHolderdcontent()Lio/netty/buffer/ByteBuf;fgeh????????
access$0001()Lio/netty/util/internal/logging/InternalLogger;4io/netty/util/internal/logging/InternalLoggerFactoryogetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;qr
psjava/lang/ClassugetNamew?
vx.READ_SUSPENDEDzio/netty/util/AttributeKey|0(Ljava/lang/String;)Lio/netty/util/AttributeKey;?~
}.REOPEN_TASK?
ConstantValue	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!????BB D!D"#$?%&$?'@(@)*+,+?-.+?/0+?1)23?>*+?5??678?
??*9?,??67??:;??	P*?>*?@*?B*C?F*?H	??
?JYL?O?**?Q?S*?U*!?W*?B*?@??4P67PP P"P!?6
?[`jn ?'?1?9?>?C?I?O???1:X?X	*!?Z??*67 "?
??:[?O	
*!?Z?? 
67

 ?
??:<?;	
*		?Z??
67?
??:\?C	*		?Z??67"?
?
?]X?]
*!?_*?a??*
67
b
c
d????][?s*?U*!?W*?5?
*?5?j?m?? 67bc???
??]\?a*?B*?5?*?5*?B?n??67d?
?oh?/*?U??67?p\?`*?U*?5?
*?5?j?m??67?!"#%?qh?/*?W??67?+r\?`*?W*?5?
*?5?j?m??67 ?89:<?sh?/*?B??67?Bt\?^*?B*?5?*?5?n??67"?IJKM?u\?_	??
?JYL?O?*?@??67!?[\^_?vh?/*?@??67?ewh?/*?F??67?lx\?_	??
?JYz?O?*?F??67(?z{}~?{h?/*?H??67??|\?>*?H??67)?
??}3?5??67~????a%+????????+??????W??%67%?????$????u	H*,??B?j7!	??**?5!*?W*?@??7*+??7??+????:	?????:????Y???????:??	????:??+?նѶٹ?	????+?ՙ?	??W+????????+???:

????:??Y+??:
??+?????W?????:????Y?????	????:??+?ն?????ȶٹ?*+?+,?W??\	?y?
?mF??		%
H67H??HB
=??y?
?n????%?0?9?F?Q?z???????????????????????? ?3?8???G??3??????Z???T???????J ??*67??
??????? 67??????o&*????????L+?
?+?????&???
?? ?@??T+?ՙ
+?W??67??????

?*,??7?j7	??{*?5*?U*?@? 7??]?????D????Y??"????:??+????????:??+?նѶٹ?*+,-?&?*+,	-?&??H(c
?67?????'(?
??6
 "(#1$<%o&x%}(?)?-?.??}?
??#)?p
*+,*,??!?j?&??467??+'(?3	435??*#$,??H*+?0*+?2??67???<=>??-.??+???6?:N-?-*?S????*67??@ABC?ABCE??<DE?t*?H?? *?F??	*+?0??*67??+F?NOQ?G???*+?0??67???
VWH?/*?5??67?^????r??Y"?KM??*?U??O??*?W??Q??*?B??S??*?F??U??*?H??W??L*?5?+*?5?ZW?+\??W+?ٰ?r67R ]^?.c
de'f4gAhNiRjYkemmo?	?e????w)+?`?+?`?c??+?e?+?e?i?c??j??)67)?z{}~%??lm?????0n<?uE?t????Y???y??{?Ŷٸ?????Y???y????Ŷٸ????12bc&d/e>d??

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy