| Modifier and Type | Field and Description |
|---|---|
| private final U | |
| private final int | |
| private final PushbackPolicy | |
| private final QueuePolicy | |
| private final Semaphore | |
| private final AtomicBoolean | softClose
Indicates that a terminal event has been received, that we should stop collecting new events, and that we must drain the buffer before continuing |
| Access | Constructor and Description |
|---|---|
| pack-priv | BufferedPushStreamImpl(PushStreamProvider psp, PromiseFactory promiseFactory, U eventQueue, int parallelism, QueuePolicy<T, U> queuePolicy, PushbackPolicy<T, U> pushbackPolicy, Function<PushEventConsumer<T>, AutoCloseable> connector)
|
| Modifier and Type | Method and Description |
|---|---|
| protected long | handleEvent(PushEvent<? extends T> event)
Overrides org.
|
| private void |
| eventQueue | back to summary |
|---|---|
| private final U eventQueue | |
| parallelism | back to summary |
|---|---|
| private final int parallelism | |
| pushbackPolicy | back to summary |
|---|---|
| private final PushbackPolicy<T, U> pushbackPolicy | |
| queuePolicy | back to summary |
|---|---|
| private final QueuePolicy<T, U> queuePolicy | |
| semaphore | back to summary |
|---|---|
| private final Semaphore semaphore | |
| softClose | back to summary |
|---|---|
| private final AtomicBoolean softClose Indicates that a terminal event has been received, that we should stop collecting new events, and that we must drain the buffer before continuing | |
| BufferedPushStreamImpl | back to summary |
|---|---|
| pack-priv BufferedPushStreamImpl(PushStreamProvider psp, PromiseFactory promiseFactory, U eventQueue, int parallelism, QueuePolicy<T, U> queuePolicy, PushbackPolicy<T, U> pushbackPolicy, Function<PushEventConsumer<T>, AutoCloseable> connector) | |
| handleEvent | back to summary |
|---|---|
| protected long handleEvent(PushEvent<? extends T> event) Overrides org.
| |
| startWorker | back to summary |
|---|---|
| private void startWorker() | |