| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | OnSubscribeDetach.DetachSubscriber<
the value type T>The parent subscriber that forwards events and cleans up on a terminal state. |
| pack-priv static enum | OnSubscribeDetach.TerminatedProducer
Singleton instance via enum. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Observable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| source | back to summary |
|---|---|
| pack-priv final Observable<T> source | |
| OnSubscribeDetach | back to summary |
|---|---|
| public OnSubscribeDetach(Observable<T> source) | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super T> t) Implements rx.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final OnSubscribeDetach. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isUnsubscribed()
Implements rx. Subscription is currently unsubscribed.
|
| public void | request(long
the maximum number of items you want this Producer to produce, or n)Long.MAX_VALUE if you
want the Producer to produce items at its own paceImplements rx. |
| public void | unsubscribe()
Implements rx. Subscriber that was registered when this Subscription
was received.
|
| parent | back to summary |
|---|---|
| pack-priv final OnSubscribeDetach. | |
| DetachProducer | back to summary |
|---|---|
| public DetachProducer(OnSubscribeDetach. | |
| isUnsubscribed | back to summary |
|---|---|
| public boolean isUnsubscribed() Implements rx. Doc from rx. Indicates whether this
| |
| request | back to summary |
|---|---|
| public void request(long n) Implements rx. Doc from rx. Request a certain maximum number of items from this Producer. This is a way of requesting backpressure.
To disable backpressure, pass
Requests are additive but if a sequence of requests totals more than request(100); request(Long.MAX_VALUE-1);
| |
| unsubscribe | back to summary |
|---|---|
| public void unsubscribe() Implements rx. Doc from rx. Stops the receipt of notifications on the
This allows deregistering an
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AtomicReference | |
| pack-priv final AtomicReference | |
| pack-priv final AtomicLong |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public void | onCompleted()
Implements rx. Observable has finished sending push-based notifications.
|
| public void | onError(Throwable
the exception encountered by the Observable e)Implements rx. Observable has experienced an error condition.
|
| public void | onNext(T
the item emitted by the Observable t)Implements rx. |
| public void | setProducer(Producer
producer to be used by this subscriber or the other subscriber
(or recursively its other subscriber) to make requests from p)Overrides rx. Subscriber(Subscriber) or
Subscriber(Subscriber, boolean)) then this method calls
setProducer on the other subscriber.
|
| actual | back to summary |
|---|---|
| pack-priv final AtomicReference<Subscriber<? super T>> actual | |
| producer | back to summary |
|---|---|
| pack-priv final AtomicReference<Producer> producer Hides rx. | |
| requested | back to summary |
|---|---|
| pack-priv final AtomicLong requested Hides rx. | |
| DetachSubscriber | back to summary |
|---|---|
| public DetachSubscriber(Subscriber<? super T> actual) | |
| innerRequest | back to summary |
|---|---|
| pack-priv void innerRequest(long n) | |
| innerUnsubscribe | back to summary |
|---|---|
| pack-priv void innerUnsubscribe() | |
| onCompleted | back to summary |
|---|---|
| public void onCompleted() Implements rx. Doc from rx. Notifies the Observer that the
The
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements rx. Doc from rx. Notifies the Observer that the
If the | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements rx. Doc from rx. Provides the Observer with a new item to observe.
The
The
| |
| setProducer | back to summary |
|---|---|
| public void setProducer(Producer p) Overrides rx. Doc from rx. If other subscriber is set (by calling constructor
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final OnSubscribeDetach. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | request(long
the maximum number of items you want this Producer to produce, or n)Long.MAX_VALUE if you
want the Producer to produce items at its own paceImplements rx. |
| public static OnSubscribeDetach. | |
| public static OnSubscribeDetach. |
| INSTANCE | back to summary |
|---|---|
| public static final OnSubscribeDetach. | |
| TerminatedProducer | back to summary |
|---|---|
| private TerminatedProducer() | |
| request | back to summary |
|---|---|
| public void request(long n) Implements rx. Doc from rx. Request a certain maximum number of items from this Producer. This is a way of requesting backpressure.
To disable backpressure, pass
Requests are additive but if a sequence of requests totals more than request(100); request(Long.MAX_VALUE-1);
| |
| valueOf | back to summary |
|---|---|
| public static OnSubscribeDetach. | |
| values | back to summary |
|---|---|
| public static OnSubscribeDetach. | |