Uses of Class
io.netty.handler.codec.http2.WeightedFairQueueByteDistributor.State
Packages that use WeightedFairQueueByteDistributor.State
-
Uses of WeightedFairQueueByteDistributor.State in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as WeightedFairQueueByteDistributor.StateModifier and TypeFieldDescriptionprivate final WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.connectionState
(package private) final WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.ParentChangedEvent.oldParent
(package private) WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.State.parent
(package private) final WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.ParentChangedEvent.state
Fields in io.netty.handler.codec.http2 with type parameters of type WeightedFairQueueByteDistributor.StateModifier and TypeFieldDescription(package private) IntObjectMap
<WeightedFairQueueByteDistributor.State> WeightedFairQueueByteDistributor.State.children
private final PriorityQueue
<WeightedFairQueueByteDistributor.State> WeightedFairQueueByteDistributor.State.pseudoTimeQueue
private final IntObjectMap
<WeightedFairQueueByteDistributor.State> WeightedFairQueueByteDistributor.stateOnlyMap
If there is no Http2Stream object, but we still persist priority information then this is where the state will reside.private final PriorityQueue
<WeightedFairQueueByteDistributor.State> WeightedFairQueueByteDistributor.stateOnlyRemovalQueue
This queue will hold streams that are not active and provides the capability to retain priority for streams which have noHttp2Stream
object.Methods in io.netty.handler.codec.http2 that return WeightedFairQueueByteDistributor.StateModifier and TypeMethodDescription(package private) WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.State.peekPseudoTimeQueue()
(package private) WeightedFairQueueByteDistributor.State
WeightedFairQueueByteDistributor.State.pollPseudoTimeQueue()
Must only be called if the pseudoTimeQueue is non-empty!WeightedFairQueueByteDistributor.state
(int streamId) WeightedFairQueueByteDistributor.state
(Http2Stream stream) Methods in io.netty.handler.codec.http2 that return types with arguments of type WeightedFairQueueByteDistributor.StateModifier and TypeMethodDescriptionWeightedFairQueueByteDistributor.State.removeAllChildrenExcept
(WeightedFairQueueByteDistributor.State stateToRetain) Remove all children with the exception ofstreamToRetain
.Methods in io.netty.handler.codec.http2 with parameters of type WeightedFairQueueByteDistributor.StateModifier and TypeMethodDescriptionint
WeightedFairQueueByteDistributor.StateOnlyComparator.compare
(WeightedFairQueueByteDistributor.State o1, WeightedFairQueueByteDistributor.State o2) int
WeightedFairQueueByteDistributor.StatePseudoTimeComparator.compare
(WeightedFairQueueByteDistributor.State o1, WeightedFairQueueByteDistributor.State o2) private int
WeightedFairQueueByteDistributor.distribute
(int maxBytes, StreamByteDistributor.Writer writer, WeightedFairQueueByteDistributor.State state) private int
WeightedFairQueueByteDistributor.distributeToChildren
(int maxBytes, StreamByteDistributor.Writer writer, WeightedFairQueueByteDistributor.State state) It is a pre-condition thatstate.poll()
returns a non-null
value.(package private) boolean
WeightedFairQueueByteDistributor.State.isDescendantOf
(WeightedFairQueueByteDistributor.State state) (package private) void
WeightedFairQueueByteDistributor.State.offerAndInitializePseudoTime
(WeightedFairQueueByteDistributor.State state) The concept of pseudoTime can be influenced by priority tree manipulations or if a stream goes from "active" to "non-active".(package private) void
WeightedFairQueueByteDistributor.State.offerPseudoTimeQueue
(WeightedFairQueueByteDistributor.State state) WeightedFairQueueByteDistributor.State.removeAllChildrenExcept
(WeightedFairQueueByteDistributor.State stateToRetain) Remove all children with the exception ofstreamToRetain
.(package private) void
WeightedFairQueueByteDistributor.State.removeChild
(WeightedFairQueueByteDistributor.State child) Removes the child priority and moves any of its dependencies to being direct dependencies on this node.(package private) void
WeightedFairQueueByteDistributor.State.removePseudoTimeQueue
(WeightedFairQueueByteDistributor.State state) private void
WeightedFairQueueByteDistributor.State.setParent
(WeightedFairQueueByteDistributor.State newParent) (package private) void
WeightedFairQueueByteDistributor.State.takeChild
(WeightedFairQueueByteDistributor.State child, boolean exclusive, List<WeightedFairQueueByteDistributor.ParentChangedEvent> events) (package private) void
WeightedFairQueueByteDistributor.State.takeChild
(Iterator<IntObjectMap.PrimitiveEntry<WeightedFairQueueByteDistributor.State>> childItr, WeightedFairQueueByteDistributor.State child, boolean exclusive, List<WeightedFairQueueByteDistributor.ParentChangedEvent> events) Adds a child to this priority.(package private) void
WeightedFairQueueByteDistributor.State.updatePseudoTime
(WeightedFairQueueByteDistributor.State parentState, int nsent, long totalQueuedWeights) Assumes the parentstotalQueuedWeights
includes this node's weight.Method parameters in io.netty.handler.codec.http2 with type arguments of type WeightedFairQueueByteDistributor.StateModifier and TypeMethodDescription(package private) void
WeightedFairQueueByteDistributor.State.takeChild
(Iterator<IntObjectMap.PrimitiveEntry<WeightedFairQueueByteDistributor.State>> childItr, WeightedFairQueueByteDistributor.State child, boolean exclusive, List<WeightedFairQueueByteDistributor.ParentChangedEvent> events) Adds a child to this priority.Constructors in io.netty.handler.codec.http2 with parameters of type WeightedFairQueueByteDistributor.StateModifierConstructorDescription(package private)
ParentChangedEvent
(WeightedFairQueueByteDistributor.State state, WeightedFairQueueByteDistributor.State oldParent) Create a new instance.