Uses of Interface
org.osgi.util.pushstream.PushbackPolicy
Packages that use PushbackPolicy
-
Uses of PushbackPolicy in org.osgi.util.pushstream
Classes in org.osgi.util.pushstream that implement PushbackPolicyModifier and TypeClassDescriptionfinal class
ThresholdPushbackPolicy<T,
U extends BlockingQueue<PushEvent<? extends T>>> Provides a configurablePushbackPolicy
implementation that returns zero back pressure until the buffer fills beyond the supplied threshold.Methods in org.osgi.util.pushstream that return PushbackPolicyModifier and TypeMethodDescriptionabstract <T,
U extends BlockingQueue<PushEvent<? extends T>>>
PushbackPolicy<T,U> PushbackPolicyOption.getPolicy
(long value) Create aPushbackPolicy
instance configured with a base back pressure time in nanoseconds The actual backpressure returned will vary based on the selected implementation, the base value, and the state of the buffer.Methods in org.osgi.util.pushstream with parameters of type PushbackPolicyModifier and TypeMethodDescriptionBufferBuilder<R,
T, U> BufferBuilder.withPushbackPolicy
(PushbackPolicy<T, U> pushbackPolicy) Set thePushbackPolicy
of this builderPushStreamBuilder.withPushbackPolicy
(PushbackPolicy<T, U> pushbackPolicy)