| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Publisher | |
| pack-priv final SingleSource |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(SingleObserver<? super T>
the SingleObserver to handle, not null observer)Implements abstract io. SingleObservers.
|
| other | back to summary |
|---|---|
| pack-priv final Publisher<U> other | |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<T> source | |
| SingleTakeUntil | back to summary |
|---|---|
| public SingleTakeUntil(SingleSource<T> source, Publisher<U> other) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(SingleObserver<? super T> observer) Implements abstract io. Doc from io. Implement this method in subclasses to handle the incoming There is no need to call any of the plugin hooks on the current
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleObserver | |
| pack-priv final SingleTakeUntil. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | isDisposed()
Implements io. |
| public void | onError(Throwable
the exception encountered by the Single e)Implements io. Single has experienced an error condition.
|
| public void | onSubscribe(Disposable
the Disposable instance whose d)Disposable#dispose() can
be called anytime to cancel the connectionImplements io. onSubscribe(Disposable) itself) and asynchronous manner.
|
| public void | onSuccess(T
the item emitted by the Single value)Implements io. Single has finished sending
push-based notifications.
|
| pack-priv void |
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| other | back to summary |
|---|---|
| pack-priv final SingleTakeUntil. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| TakeUntilMainObserver | back to summary |
|---|---|
| pack-priv TakeUntilMainObserver(SingleObserver<? super T> downstream) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable e) Implements io. Doc from io. Notifies the SingleObserver that the
If the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Disposable d) Implements io. Doc from io. Provides the SingleObserver with the means of cancelling (disposing) the
connection (channel) with the Single in both
synchronous (from within
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |
| otherError | back to summary |
|---|---|
| pack-priv void otherError(Throwable e) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleTakeUntil. | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(Object
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements io. onNext(Object) is established before
calling Subscription#request(long).
|
| parent | back to summary |
|---|---|
| pack-priv final SingleTakeUntil. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| TakeUntilOtherSubscriber | back to summary |
|---|---|
| pack-priv TakeUntilOtherSubscriber(SingleTakeUntil. | |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(Object t) Implements org. Doc from org. Data notification sent by the | |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements io. Doc from io. Implementors of this method should make sure everything that needs
to be visible in
No data will start flowing until
It is the responsibility of this
The
| |