| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleSource | |
| pack-priv final Scheduler | |
| pack-priv final SingleSource | |
| pack-priv final long | |
| pack-priv final TimeUnit |
| Access | Constructor and Description |
|---|---|
| public | SingleTimeout(SingleSource<T> source, long timeout, TimeUnit unit, Scheduler scheduler, SingleSource<? extends T> other)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(final SingleObserver<? super T>
the SingleObserver to handle, not null observer)Implements abstract io. SingleObservers.
|
| other | back to summary |
|---|---|
| pack-priv final SingleSource<? extends T> other | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<T> source | |
| timeout | back to summary |
|---|---|
| pack-priv final long timeout | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| SingleTimeout | back to summary |
|---|---|
| public SingleTimeout(SingleSource<T> source, long timeout, TimeUnit unit, Scheduler scheduler, SingleSource<? extends T> other) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(final 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 | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleObserver | |
| pack-priv final SingleTimeout. | |
| pack-priv SingleSource | |
| private static final long | |
| pack-priv final AtomicReference | |
| pack-priv final long | |
| pack-priv final TimeUnit |
| Access | Constructor and Description |
|---|---|
| pack-priv | TimeoutMainObserver(SingleObserver<? super T> actual, SingleSource<? extends T> other, long timeout, TimeUnit unit)
|
| 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 t)Implements io. Single has finished sending
push-based notifications.
|
| public void |
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| fallback | back to summary |
|---|---|
| pack-priv final SingleTimeout. | |
| other | back to summary |
|---|---|
| pack-priv SingleSource<? extends T> other | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| task | back to summary |
|---|---|
| pack-priv final AtomicReference<Disposable> task | |
| timeout | back to summary |
|---|---|
| pack-priv final long timeout | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| TimeoutMainObserver | back to summary |
|---|---|
| pack-priv TimeoutMainObserver(SingleObserver<? super T> actual, SingleSource<? extends T> other, long timeout, TimeUnit unit) | |
| 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 t) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleObserver | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| 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 t)Implements io. Single has finished sending
push-based notifications.
|
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| TimeoutFallbackObserver | back to summary |
|---|---|
| pack-priv TimeoutFallbackObserver(SingleObserver<? super T> downstream) | |
| 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 t) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |