| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final boolean | |
| pack-priv final Scheduler | |
| pack-priv final SingleSource | |
| pack-priv final long | |
| pack-priv final TimeUnit |
| Access | Constructor and Description |
|---|---|
| public | SingleDelay(SingleSource<? extends T> source, long time, TimeUnit unit, Scheduler scheduler, boolean delayError)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(final SingleObserver<? super T>
the SingleObserver to handle, not null observer)Implements abstract io. SingleObservers.
|
| delayError | back to summary |
|---|---|
| pack-priv final boolean delayError | |
| scheduler | back to summary |
|---|---|
| pack-priv final Scheduler scheduler | |
| source | back to summary |
|---|---|
| pack-priv final SingleSource<? extends T> source | |
| time | back to summary |
|---|---|
| pack-priv final long time | |
| unit | back to summary |
|---|---|
| pack-priv final TimeUnit unit | |
| SingleDelay | back to summary |
|---|---|
| public SingleDelay(SingleSource<? extends T> source, long time, TimeUnit unit, Scheduler scheduler, boolean delayError) | |
| 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 class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleObserver | |
| private final SequentialDisposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | onError(final 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(final T
the item emitted by the Single value)Implements io. Single has finished sending
push-based notifications.
|
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| sd | back to summary |
|---|---|
| private final SequentialDisposable sd | |
| Delay | back to summary |
|---|---|
| pack-priv Delay(SequentialDisposable sd, SingleObserver<? super T> observer) | |
| onError | back to summary |
|---|---|
| public void onError(final 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(final T value) Implements io. Doc from io. Notifies the SingleObserver with a single item and that the
The
| |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| e | back to summary |
|---|---|
| private final Throwable e | |
| OnError | back to summary |
|---|---|
| pack-priv OnError(Throwable e) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| value | back to summary |
|---|---|
| private final T value | |
| OnSuccess | back to summary |
|---|---|
| pack-priv OnSuccess(T value) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |