Uses of Interface
io.netty.handler.codec.http2.StreamByteDistributor.Writer
Packages that use StreamByteDistributor.Writer
-
Uses of StreamByteDistributor.Writer in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement StreamByteDistributor.WriterModifier and TypeClassDescriptionprivate final class
Writability of astream
is calculated using the following:private class
Abstract class which provides common functionality for writability monitor implementations.Methods in io.netty.handler.codec.http2 with parameters of type StreamByteDistributor.WriterModifier and TypeMethodDescriptionboolean
StreamByteDistributor.distribute
(int maxBytes, StreamByteDistributor.Writer writer) Distributes up tomaxBytes
to those streams containing streamable bytes and iterates across those streams to write the appropriate bytes.boolean
UniformStreamByteDistributor.distribute
(int maxBytes, StreamByteDistributor.Writer writer) boolean
WeightedFairQueueByteDistributor.distribute
(int maxBytes, StreamByteDistributor.Writer writer) 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) void
UniformStreamByteDistributor.State.write
(int numBytes, StreamByteDistributor.Writer writer) Write any allocated bytes for the given stream and updates the streamable bytes, assuming all of the bytes will be written.(package private) void
WeightedFairQueueByteDistributor.State.write
(int numBytes, StreamByteDistributor.Writer writer)