Package | Description |
---|---|
org.osgi.util.pushstream |
Push Stream Package Version 1.0.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PushStreamBuilder<T,U extends BlockingQueue<PushEvent<? extends T>>>
A Builder for a PushStream.
|
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,U extends BlockingQueue<PushEvent<? extends T>>> |
PushStreamProvider.buildEventSourceFromStream(PushStream<T> stream)
Convert an
PushStream into an PushEventSource . |
<T,U extends BlockingQueue<PushEvent<? extends T>>> |
PushStreamProvider.buildSimpleEventSource(Class<T> type)
Build a
SimplePushEventSource with the supplied type and custom
buffering behaviors. |
BufferBuilder<R,T,U> |
BufferBuilder.withBuffer(U queue)
The BlockingQueue implementation to use as a buffer
|
BufferBuilder<R,T,U> |
BufferBuilder.withExecutor(Executor executor)
Set the
Executor that should be used to deliver events from this
buffer |
BufferBuilder<R,T,U> |
BufferBuilder.withParallelism(int parallelism)
Set the maximum permitted number of concurrent event deliveries allowed
from this buffer
|
BufferBuilder<R,T,U> |
BufferBuilder.withPushbackPolicy(PushbackPolicy<T,U> pushbackPolicy)
Set the
PushbackPolicy of this builder |
BufferBuilder<R,T,U> |
BufferBuilder.withPushbackPolicy(PushbackPolicyOption pushbackPolicyOption,
long time)
Set the
PushbackPolicy of this builder |
BufferBuilder<R,T,U> |
BufferBuilder.withQueuePolicy(QueuePolicy<T,U> queuePolicy)
Set the
QueuePolicy of this Builder |
BufferBuilder<R,T,U> |
BufferBuilder.withQueuePolicy(QueuePolicyOption queuePolicyOption)
Set the
QueuePolicy of this Builder |
BufferBuilder<R,T,U> |
BufferBuilder.withScheduler(ScheduledExecutorService scheduler)
Set the
ScheduledExecutorService that should be used to trigger
timed events after this buffer |
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0