| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SingleSource | |
| private final Iterable |
| Access | Constructor and Description |
|---|---|
| public | SingleAmb(SingleSource<? extends T>[] sources, Iterable<? extends SingleSource<? extends T>> sourcesIterable)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| sources | back to summary |
|---|---|
| private final SingleSource<? extends T>[] sources | |
| sourcesIterable | back to summary |
|---|---|
| private final Iterable<? extends SingleSource<? extends T>> sourcesIterable | |
| SingleAmb | back to summary |
|---|---|
| public SingleAmb(SingleSource<? extends T>[] sources, Iterable<? extends SingleSource<? extends T>> sourcesIterable) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(final SingleObserver<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SingleObserver | |
| pack-priv final CompositeDisposable | |
| pack-priv Disposable | |
| pack-priv final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | AmbSingleObserver(SingleObserver<? super T> observer, CompositeDisposable set, AtomicBoolean winner)
|
| Modifier and Type | Method and Description |
|---|---|
| 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.
|
| downstream | back to summary |
|---|---|
| pack-priv final SingleObserver<? super T> downstream | |
| set | back to summary |
|---|---|
| pack-priv final CompositeDisposable set | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| winner | back to summary |
|---|---|
| pack-priv final AtomicBoolean winner | |
| AmbSingleObserver | back to summary |
|---|---|
| pack-priv AmbSingleObserver(SingleObserver<? super T> observer, CompositeDisposable set, AtomicBoolean winner) | |
| 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
| |