CheckedIterable.
Each new subscription gets a new CheckedIterator.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final CheckedIterable | |
| private final Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | subscribe(Flow.
Implements java. Adds the given Subscriber if possible. |
| iterable | back to summary |
|---|---|
| private final CheckedIterable<T> iterable | |
| throwable | back to summary |
|---|---|
| private final Throwable throwable | |
| PullPublisher | back to summary |
|---|---|
| pack-priv PullPublisher(CheckedIterable<T> iterable, Throwable throwable) | |
| PullPublisher | back to summary |
|---|---|
| pack-priv PullPublisher(CheckedIterable<T> iterable) | |
| subscribe | back to summary |
|---|---|
| public void subscribe(Flow. Implements java. Doc from java. Adds the given Subscriber if possible. If already
subscribed, or the attempt to subscribe fails due to policy
violations or errors, the Subscriber's
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private volatile boolean | |
| private final Demand | |
| private volatile Throwable | |
| private final CheckedIterator | |
| pack-priv final SequentialScheduler | |
| private final Flow. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | cancel()
Implements java. Causes the Subscriber to (eventually) stop receiving messages. |
| public void | request(long n)
Implements java. Adds the given number |
| cancelled | back to summary |
|---|---|
| private volatile boolean cancelled | |
| completed | back to summary |
|---|---|
| private volatile boolean completed | |
| demand | back to summary |
|---|---|
| private final Demand demand | |
| error | back to summary |
|---|---|
| private volatile Throwable error | |
| iter | back to summary |
|---|---|
| private final CheckedIterator<T> iter | |
| pullScheduler | back to summary |
|---|---|
| pack-priv final SequentialScheduler pullScheduler | |
| subscriber | back to summary |
|---|---|
| private final Flow. | |
| Subscription | back to summary |
|---|---|
| pack-priv Subscription(Flow. | |
| cancel | back to summary |
|---|---|
| public void cancel() Implements java. Doc from java. Causes the Subscriber to (eventually) stop receiving
messages. Implementation is best-effort -- additional
messages may be received after invoking this method.
A cancelled subscription need not ever receive an
| |
| request | back to summary |
|---|---|
| public void request(long n) Implements java. Doc from java. Adds the given number
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected void | run()
Implements abstract jdk. The body of the task. |
| PullTask | back to summary |
|---|---|
| pack-priv PullTask() | |
| run | back to summary |
|---|---|
| protected void run() Implements abstract jdk. Doc from jdk. The body of the task.
| |