classes.io.netty.handler.codec.http2.WeightedFairQueueByteDistributor.class Maven / Gradle / Ivy
The newest version!
???? 2? ? ? ?
? ? ? ? ? ?
?
h ? ? ?
? ?
? ?
? ? ?
? ? p ?
? ? ? ? ?
? ?
?
?
( ?
! ?
?"
# $
%&
'
(
)
* + ,-.
E ?/
E0
E12
E345
E6
D7 ???
%8
9 :
;
<
=> ??@ABB@C ^DE
F
G
HIJ
KL
%M NOPQ InnerClasses ParentChangedEvent StateR StatePseudoTimeComparatorS StateOnlyComparator INITIAL_CHILDREN_MAP_SIZE I DEFAULT_MAX_STATE_ONLY_SIZE
ConstantValue stateKeyT PropertyKey :Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; stateOnlyMap 'Lio/netty/util/collection/IntObjectMap; Signature nLio/netty/util/collection/IntObjectMap; stateOnlyRemovalQueue &Lio/netty/util/internal/PriorityQueue; mLio/netty/util/internal/PriorityQueue;
connection .Lio/netty/handler/codec/http2/Http2Connection; connectionState ELio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State; allocationQuantum maxStateOnlySize $assertionsDisabled Z 1(Lio/netty/handler/codec/http2/Http2Connection;)V Code LineNumberTable LocalVariableTable this ?Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor; 2(Lio/netty/handler/codec/http2/Http2Connection;I)V connectionStream *Lio/netty/handler/codec/http2/Http2Stream;
StackMapTable ?U updateStreamableBytesV StreamState C(Lio/netty/handler/codec/http2/StreamByteDistributor$StreamState;)V state @Lio/netty/handler/codec/http2/StreamByteDistributor$StreamState;V updateDependencyTree (IISZ)V events Ljava/util/List;
stateToRemove
childStreamId parentStreamId weight S exclusive newParent LocalVariableTypeTable dLjava/util/List;W
distributeX Writer ?(ILio/netty/handler/codec/http2/StreamByteDistributor$Writer;)Z maxBytes writer ;Lio/netty/handler/codec/http2/StreamByteDistributor$Writer; oldIsActiveCountForTree
ExceptionsY (I)V ?(ILio/netty/handler/codec/http2/StreamByteDistributor$Writer;Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;)I nsent distributeToChildren oldTotalQueuedWeights J
childState nextChildStateXZ q(Lio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State; stream H(I)Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State; streamId[ isChild (IIS)Z child childId parentId parent numChildren (I)I notifyParentChanged (Ljava/util/List;)V event RLio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$ParentChangedEvent; i g(Ljava/util/List;)V
access$000 h(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)Lio/netty/util/collection/IntObjectMap; x0
access$100 ?(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;
access$200 g(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)Lio/netty/util/internal/PriorityQueue;
access$300 {(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;
access$400 ?(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;Lio/netty/handler/codec/http2/Http2Stream;)Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State; x1
access$500 B(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)I ()V
SourceFile %WeightedFairQueueByteDistributor.java java/lang/Integer +io/netty/handler/codec/http2/Http2CodecUtil ? s ? ? w z ? ? ? { | =io/netty/handler/codec/http2/WeightedFairQueueByteDistributor ? ? ? ? ? s\]^_`abcd )io/netty/util/collection/IntObjectHashMap ? ? +io/netty/util/internal/DefaultPriorityQueueef ?g ? ?Uhi ?j Cio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State ?k[lm ?io/netty/handler/codec/http2/WeightedFairQueueByteDistributor$1 ?nor ?jstuvwx ?y ? ? ?z{|}~? java/util/ArrayList?? ? ?? s ? ?? ? ? ?? |?x?????? ? s?? ? ??^?vs s?????????? ? ? ?? ? java/lang/AssertionError java/lang/StringBuilder nextChildState[????
].pseudoTime(?? ) < childState[ )?? ???? ? ?? ???? ????? ??????W Pio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$ParentChangedEvent ? ?????? ???v io.netty.http2.childrenMapSize????? r s java/lang/Object 2io/netty/handler/codec/http2/StreamByteDistributor ?io/netty/handler/codec/http2/WeightedFairQueueByteDistributor$2 Wio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$StatePseudoTimeComparator Qio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$StateOnlyComparator 8io/netty/handler/codec/http2/Http2Connection$PropertyKey ,io/netty/handler/codec/http2/Http2Connection >io/netty/handler/codec/http2/StreamByteDistributor$StreamState java/util/List 9io/netty/handler/codec/http2/StreamByteDistributor$Writer +io/netty/handler/codec/http2/Http2Exception java/lang/Throwable (io/netty/handler/codec/http2/Http2Stream !io/netty/util/internal/ObjectUtil checkPositiveOrZero (ILjava/lang/String;)I 'io/netty/util/collection/IntCollections emptyMap )()Lio/netty/util/collection/IntObjectMap; )io/netty/util/internal/EmptyPriorityQueue instance -()Lio/netty/util/internal/EmptyPriorityQueue; INSTANCE SLio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$StateOnlyComparator; (Ljava/util/Comparator;I)V newKey <()Lio/netty/handler/codec/http2/Http2Connection$PropertyKey; ,()Lio/netty/handler/codec/http2/Http2Stream; m(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;Lio/netty/handler/codec/http2/Http2Stream;I)V setProperty `(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;Ljava/lang/Object;)Ljava/lang/Object; B(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;)V addListener? Listener :(Lio/netty/handler/codec/http2/Http2Connection$Listener;)V streamableBytes C(Lio/netty/handler/codec/http2/StreamByteDistributor$StreamState;)I hasFrame ()Z
windowSize ()I (IZ)V C(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor;I)V $io/netty/util/internal/PriorityQueue add (Ljava/lang/Object;)Z %io/netty/util/collection/IntObjectMap put '(ILjava/lang/Object;)Ljava/lang/Object; takeChild Y(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;ZLjava/util/List;)V activeCountForTree totalQueuedWeights children size isDescendantOf H(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;)Z poll ()Ljava/lang/Object; removeChild H(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;)V remove (I)Ljava/lang/Object;
checkPositive isActive java/lang/Math min (II)I write ?(ILio/netty/handler/codec/http2/StreamByteDistributor$Writer;)V pollPseudoTimeQueue G()Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State; peekPseudoTimeQueue setDistributing pseudoTimeToWrite append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/Object;)V (JJ)J
pseudoTime updatePseudoTime J(Lio/netty/handler/codec/http2/WeightedFairQueueByteDistributor$State;IJ)V unsetDistributing offerPseudoTimeQueue getProperty N(Lio/netty/handler/codec/http2/Http2Connection$PropertyKey;)Ljava/lang/Object; -(I)Lio/netty/handler/codec/http2/Http2Stream; get containsKey (I)Z priorityChanged offerAndInitializePseudoTime activeCountChangeForTree java/lang/Class desiredAssertionStatus )io/netty/util/internal/SystemPropertyUtil getInt (Ljava/lang/String;I)I max 5io/netty/handler/codec/http2/Http2Connection$Listener 1 h i
r s t s u v w z { | } ~ ? } ? ? ? ? ? ? s ? s ? ? ? ? ? ? *+?
? ?
a b ? ? ? ? ? ? ? ? ?*? * ?
? W? *? ? *? ? ? *? Y? ? *? Y? `? ? *? *+? *+? ? +? N-*? *? Y*-? Z? ? W+? Y*? ? ? ? > d ] e f g h ' j 3 m D o I q N r X s _ t z w ? ? ? * ? ? ? ? ? ? ? ? s _ * ? ? ? ? ' ? ? ? ? ? ? )*+? ? +? +? ! ? +? " ? ? ? #? ? ? ? % ? ( ? ? ) ? ? ) ? ? ? % ? $ ? ? ?? ? ? ? ? ? ? ; v*? $:? /*? ? ?? Y*? %:*? ? & W*? ? ' W*? $:? K*? ? ?? Y*? %:*? ? & W*? ? ' W? (Y? ):*? ? **? +? ,? ? -? ? -Y? .? /d?a? .? /? -? ? x? 0? 1 ? j? 2? 1? (Y? ? 0? 1 ? `? ):? -? *? !? (Y? ? 0? 1 ? `? ):? **? +*? ? 3 *? ? -*? ? 4 ? :? -? 5*? ? 6? 7 W??ɱ ? ? ! ? ? ? ? ? ? + ? 8 ? ? ? D ? K ? L ? W ? c ? p ? z ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?* ?5 ?; ?K ?Y ?c ?r u ? p z ? ? ? ? ? * ? ? Y ? ? v ? ? v ? s v ? s v ? ? v ? ? o ? ? ?7 ? ? ? z ? ? ? ? ? * ? ? ? ? ? ?#? ??$"? ? ? ? ? ?? ? ? ? ? ?? ? ? ? ? ? ? ? ? ?? 9 ? ? ? ? J*? ? ,? ?*? ? ,>*,*? ? 8d<*? ? ,? ???*? ? ,???*? ? ,? ? ? ?
! : ? * J ? ? J ? s J ? ? 6 ? s ?
? -
@ ? ? ? ? ? I
9? :W*? ? ? ?
? ?
? s ? ? ? ? 5-? ;? )-?