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 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 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<Long> |
PushStream.forEachEvent(PushEventConsumer<? super T> action)
Pass on each event to another consumer until the stream is closed.
|
AutoCloseable |
PushEventSource.open(PushEventConsumer<? super T> aec)
Open the asynchronous channel between the source and the consumer.
|
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0