| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv Throwable | |
| pack-priv Disposable | |
| pack-priv T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the observer terminated in time, false otherwisethe timeout value timeout, TimeUnit the time unit unit)Block until the observer terminates and return true; return false if the wait times out. |
| public void | blockingConsume(Consumer<? super T>
for a succeeding source onSuccess, Consumer<? super Throwable> for a failing source onError, Action for an empty source onComplete)Blocks until the source completes and calls the appropriate callback. |
| public T | Returns: the value received or null if no value receivedBlock until the latch is counted down then rethrow any exception received (wrapped if checked) or return the received value (null if none). |
| public T | Returns: the value received or defaultValue if no value receivedthe default value to return if no value was received defaultValue)Block until the latch is counted down then rethrow any exception received (wrapped if checked) or return the received value (the defaultValue if none). |
| pack-priv void | |
| public void | onComplete()
Implements io. |
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the value)SingleImplements io. SingleObserver with a single item and that the Single has finished sending
push-based notifications.
|
| cancelled | back to summary |
|---|---|
| pack-priv volatile boolean cancelled | |
| error | back to summary |
|---|---|
| pack-priv Throwable error | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| value | back to summary |
|---|---|
| pack-priv T value | |
| BlockingMultiObserver | back to summary |
|---|---|
| public BlockingMultiObserver() | |
| blockingAwait | back to summary |
|---|---|
| public boolean blockingAwait(long timeout, TimeUnit unit) Block until the observer terminates and return true; return false if the wait times out.
| |
| blockingConsume | back to summary |
|---|---|
| public void blockingConsume(Consumer<? super T> onSuccess, Consumer<? super Throwable> onError, Action onComplete) Blocks until the source completes and calls the appropriate callback. | |
| blockingGet | back to summary |
|---|---|
| public T blockingGet() Block until the latch is counted down then rethrow any exception received (wrapped if checked) or return the received value (null if none).
| |
| blockingGet | back to summary |
|---|---|
| public T blockingGet(T defaultValue) Block until the latch is counted down then rethrow any exception received (wrapped if checked) or return the received value (the defaultValue if none).
| |
| dispose | back to summary |
|---|---|
| pack-priv void dispose() | |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Called once the deferred computation completes normally.
| |
| onError | back to summary |
|---|---|
public void onError(Throwable e)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Notifies the
The
| |