| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | ObservableCreate.SerializedEmitter<
the value type T>Serializes calls to onNext, onError and onComplete. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ObservableOnSubscribe |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| source | back to summary |
|---|---|
| pack-priv final ObservableOnSubscribe<T> source | |
| ObservableCreate | back to summary |
|---|---|
| public ObservableCreate(ObservableOnSubscribe<T> source) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(Observer<? super T> observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Observer | |
| 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. onError(Throwable), onComplete or a
successful tryOnError(Throwable).
|
| public void | |
| public void | |
| public void | onNext(T
the value to signal, not t)nullImplements io. |
| public ObservableEmitter | serialize()
Implements io. onNext, onError and onComplete are properly serialized.
|
| public void | |
| public void | |
| public String | toString()
Overrides java. |
| public boolean |
| observer | back to summary |
|---|---|
| pack-priv final Observer<? super T> observer | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| CreateEmitter | back to summary |
|---|---|
| pack-priv CreateEmitter(Observer<? super T> observer) | |
| 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 the downstream disposed the sequence or the
emitter was terminated via This method is thread-safe.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Signal a completion.
| |
| onError | back to summary |
|---|---|
public void onError(Throwable t)
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Signal a normal value.
| |
| serialize | back to summary |
|---|---|
| public ObservableEmitter Implements io. Doc from io. Ensures that calls to
| |
| setCancellable | back to summary |
|---|---|
public void setCancellable(Cancellable c)
| |
| setDisposable | back to summary |
|---|---|
public void setDisposable(Disposable d)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the String representation of the current value. | |
| tryOnError | back to summary |
|---|---|
public boolean tryOnError(Throwable t)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv volatile boolean | |
| pack-priv final ObservableEmitter | |
| pack-priv final AtomicThrowable | |
| pack-priv final SpscLinkedArrayQueue | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| public boolean | isDisposed()
Implements io. onError(Throwable), onComplete or a
successful tryOnError(Throwable).
|
| public void | |
| public void | |
| public void | onNext(T
the value to signal, not t)nullImplements io. |
| public ObservableEmitter | serialize()
Implements io. onNext, onError and onComplete are properly serialized.
|
| public void | |
| public void | |
| public String | toString()
Overrides java. |
| public boolean |
| done | back to summary |
|---|---|
| pack-priv volatile boolean done | |
| emitter | back to summary |
|---|---|
| pack-priv final ObservableEmitter<T> emitter | |
| errors | back to summary |
|---|---|
| pack-priv final AtomicThrowable errors | |
| queue | back to summary |
|---|---|
| pack-priv final SpscLinkedArrayQueue<T> queue | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| SerializedEmitter | back to summary |
|---|---|
| pack-priv SerializedEmitter(ObservableEmitter<T> emitter) | |
| drain | back to summary |
|---|---|
| pack-priv void drain() | |
| drainLoop | back to summary |
|---|---|
| pack-priv void drainLoop() | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if the downstream disposed the sequence or the
emitter was terminated via This method is thread-safe.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements io. Doc from io. Signal a completion.
| |
| onError | back to summary |
|---|---|
public void onError(Throwable t)
| |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements io. Doc from io. Signal a normal value.
| |
| serialize | back to summary |
|---|---|
| public ObservableEmitter Implements io. Doc from io. Ensures that calls to
| |
| setCancellable | back to summary |
|---|---|
public void setCancellable(Cancellable c)
| |
| setDisposable | back to summary |
|---|---|
public void setDisposable(Disposable d)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the String representation of the current value. | |
| tryOnError | back to summary |
|---|---|
public boolean tryOnError(Throwable t)
| |