onNext emissions, and marks
them with their original notification types within Notification objects.
See here for the Microsoft Rx equivalent.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | OperatorMaterialize.Holder
Lazy initialization via inner-class holder. |
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Subscriber | |
| public static < the value type T> OperatorMaterialize |
| OperatorMaterialize | back to summary |
|---|---|
| pack-priv OperatorMaterialize() | |
| call | back to summary |
|---|---|
| public Subscriber Implements rx.
| |
| instance | back to summary |
|---|---|
public static <T> OperatorMaterialize
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final OperatorMaterialize | INSTANCE
A singleton instance. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final OperatorMaterialize<Object> INSTANCE A singleton instance. | |
| Holder | back to summary |
|---|---|
| pack-priv Holder() | |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final Subscriber | |
| private boolean | |
| private final AtomicLong | |
| private volatile Notification |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private 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 | onStart()
Overrides rx. |
| pack-priv void |
| busy | back to summary |
|---|---|
| private boolean busy | |
| child | back to summary |
|---|---|
| private final Subscriber<? super Notification<T>> child | |
| missed | back to summary |
|---|---|
| private boolean missed | |
| requested | back to summary |
|---|---|
| private final AtomicLong requested Hides rx. | |
| terminalNotification | back to summary |
|---|---|
| private volatile Notification<T> terminalNotification | |
| ParentSubscriber | back to summary |
|---|---|
| pack-priv ParentSubscriber(Subscriber<? super Notification<T>> child) | |
| decrementRequested | back to summary |
|---|---|
| private void decrementRequested() | |
| drain | back to summary |
|---|---|
| private void drain() | |
| 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
| |
| onStart | back to summary |
|---|---|
| public void onStart() Overrides rx. Doc from rx. This method is invoked when the Subscriber and Observable have been connected but the Observable has not yet begun to emit items or send notifications to the Subscriber. Override this method to add any useful initialization to your subscription, for instance to initiate backpressure.
| |
| requestMore | back to summary |
|---|---|
| pack-priv void requestMore(long n) | |