Package | Description |
---|---|
org.osgi.util.pushstream |
Push Stream Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
<T> PushEventConsumer<T> |
PushStreamProvider.createBufferedConsumer(PushEventConsumer<T> delegate)
Create a buffered
PushEventConsumer with the default configured
buffer, executor size, queue, queue policy and pushback policy. |
Modifier and Type | Method and Description |
---|---|
<T,U extends java.util.concurrent.BlockingQueue<PushEvent<? extends T>>> |
PushStreamProvider.buildBufferedConsumer(PushEventConsumer<T> delegate)
Build a buffered
PushEventConsumer with custom configuration. |
Modifier and Type | Method and Description |
---|---|
<T,U extends java.util.concurrent.BlockingQueue<PushEvent<? extends T>>> |
PushStreamProvider.buildBufferedConsumer(PushEventConsumer<T> delegate)
Build a buffered
PushEventConsumer with custom configuration. |
<T> PushEventConsumer<T> |
PushStreamProvider.createBufferedConsumer(PushEventConsumer<T> delegate)
Create a buffered
PushEventConsumer with the default configured
buffer, executor size, queue, queue policy and pushback policy. |
Promise<java.lang.Long> |
PushStream.forEachEvent(PushEventConsumer<? super T> action)
Pass on each event to another consumer until the stream is closed.
|
java.lang.AutoCloseable |
PushEventSource.open(PushEventConsumer<? super T> aec)
Open the asynchronous channel between the source and the consumer.
|
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0