Uses of Interface
org.osgi.util.pushstream.PushbackPolicy
-
Uses of PushbackPolicy in org.osgi.util.pushstream
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionBufferBuilder<R,
T, U> BufferBuilder.withPushbackPolicy
(PushbackPolicy<T, U> pushbackPolicy) Set thePushbackPolicy
of this builderPushStreamBuilder.withPushbackPolicy
(PushbackPolicy<T, U> pushbackPolicy)