Uses of Interface
org.osgi.util.pushstream.PushEventConsumer
-
Uses of PushEventConsumer in org.osgi.util.pushstream
Modifier and TypeMethodDescription<T> PushEventConsumer<T>
PushStreamProvider.createBufferedConsumer
(PushEventConsumer<T> delegate) Create a bufferedPushEventConsumer
with the default configured buffer, executor size, queue, queue policy and pushback policy.Modifier and TypeMethodDescription<T,
U extends BlockingQueue<PushEvent<? extends T>>>
BufferBuilder<PushEventConsumer<T>,T, U> PushStreamProvider.buildBufferedConsumer
(PushEventConsumer<T> delegate) Build a bufferedPushEventConsumer
with custom configuration.Modifier and TypeMethodDescription<T,
U extends BlockingQueue<PushEvent<? extends T>>>
BufferBuilder<PushEventConsumer<T>,T, U> PushStreamProvider.buildBufferedConsumer
(PushEventConsumer<T> delegate) Build a bufferedPushEventConsumer
with custom configuration.<T> PushEventConsumer<T>
PushStreamProvider.createBufferedConsumer
(PushEventConsumer<T> delegate) Create a bufferedPushEventConsumer
with the default configured buffer, executor size, queue, queue policy and pushback policy.PushStream.forEachEvent
(PushEventConsumer<? super T> action) Pass on each event to another consumer until the stream is closed.PushEventSource.open
(PushEventConsumer<? super T> aec) Open the asynchronous channel between the source and the consumer.