Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest.
Example import for consumers using the API in this package:
Import-Package: org.osgi.util.pushstream; version="[1.1,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.util.pushstream; version="[1.1,1.2)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | BufferBuilder<
The type of object being built R, The type of objects in the T, PushEventThe type of the Queue used in the user specified buffer U extends BlockingQueueCreate a buffered section of a Push-based stream |
| public interface | PushbackPolicy<
The type of the data T, The type of the queue U extends BlockingQueueA |
| public interface | PushEventConsumer<
The type for the event payload T>An Async Event Consumer asynchronously receives Data events until it receives either a Close or Error event. |
| public interface | |
| public interface | PushStream<
The Payload type T>A Push Stream fulfills the same role as the Java 8 stream but it reverses the control direction. |
| public interface | PushStreamBuilder<
The type of objects in the T, PushEventThe type of the Queue used in the user specified buffer U extends BlockingQueueA Builder for a PushStream. |
| public interface | QueuePolicy<
The type of the data T, The type of the queue U extends BlockingQueueA |
| public interface | SimplePushEventSource<
The type of the events produced by this source T>A |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract class | |
| pack-priv abstract class | |
| pack-priv class | |
| pack-priv class | |
| public abstract class | PushEvent<
The payload type of the event. T>A PushEvent is an immutable object that is transferred through a communication channel to push information to a downstream consumer. |
| pack-priv class | |
| public class | PushStreamProvider
A factory for |
| pack-priv class | |
| public class | ThresholdPushbackPolicy<
The type of objects in the T, PushEventThe type of the Queue used in the user specified buffer U extends BlockingQueueProvides a configurable |
| pack-priv class |
| Modifier and Type | Enum and Description |
|---|---|
| public enum | PushbackPolicyOption
|
| public enum | QueuePolicyOption
|