| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CompletableOnSubscribe |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | subscribeActual(CompletableObserver
the CompletableObserver instance, never null observer)Implements abstract io. CompletableObservers and
perform the business logic in your operator.
|
| source | back to summary |
|---|---|
| pack-priv final CompletableOnSubscribe source | |
| CompletableCreate | back to summary |
|---|---|
| public CompletableCreate(CompletableOnSubscribe source) | |
| subscribeActual | back to summary |
|---|---|
| protected void subscribeActual(CompletableObserver observer) Implements abstract io. Doc from io. Implement this method to handle the incoming There is no need to call any of the plugin hooks on the current
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final CompletableObserver | |
| 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 | onError(Throwable
the exception, not null t)Implements io. |
| public void | setCancellable(Cancellable
the cancellable resource, null is allowed c)Implements io. Disposable
or Cancellable will be disposed/cancelled.
|
| public void | setDisposable(Disposable
the disposable, null is allowed d)Implements io. Disposable
or Cancellable will be disposed/cancelled.
|
| public String | toString()
Overrides java. |
| public boolean | tryOnError(Throwable
the throwable error to signal if possible t)Implements io. Throwable error if the downstream
hasn't cancelled the sequence or is otherwise terminated, returning false
if the emission is not allowed to happen due to lifecycle restrictions.
|
| downstream | back to summary |
|---|---|
| pack-priv final CompletableObserver downstream | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| Emitter | back to summary |
|---|---|
| pack-priv Emitter(CompletableObserver downstream) | |
| 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 the completion.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements io. Doc from io. Signal an exception. | |
| setCancellable | back to summary |
|---|---|
| public void setCancellable(Cancellable c) Implements io. Doc from io. Sets a Cancellable on this emitter; any previous
| |
| setDisposable | back to summary |
|---|---|
| public void setDisposable(Disposable d) Implements io. Doc from io. Sets a Disposable on this emitter; any previous
| |
| 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) Implements io. Doc from io. Attempts to emit the specified
Unlike History: 2.1.1 - experimental | |