| Modifier and Type | Field and Description |
|---|---|
| pack-priv final T | |
| pack-priv final boolean | |
| pack-priv final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | cancel(boolean
this value has no effect in this
implementation because interrupts are not used to control
processing. mayInterruptIfRunning)Overrides java. Implements java. CancellationException.
|
| pack-priv void | |
| pack-priv void | |
| public boolean | complete(T
the result value value)Overrides java. get() and related methods to the given value.
|
| public boolean | completeExceptionally(Throwable
the exception ex)Overrides java. get()
and related methods to throw the given exception.
|
| public void | onComplete()
Implements io. |
| public void | |
| public void | |
| public void | onSuccess(T
the item emitted by the t)MaybeImplements io. MaybeObserver with one item and that the Maybe has finished sending
push-based notifications.
|
| defaultItem | back to summary |
|---|---|
| pack-priv final T defaultItem | |
| hasDefault | back to summary |
|---|---|
| pack-priv final boolean hasDefault | |
| upstream | back to summary |
|---|---|
| pack-priv final AtomicReference<Disposable> upstream | |
| CompletionStageConsumer | back to summary |
|---|---|
| public CompletionStageConsumer(boolean hasDefault, T defaultItem) | |
| cancel | back to summary |
|---|---|
| public boolean cancel(boolean mayInterruptIfRunning) Overrides java. Implements java. Doc from java. If not already completed, completes this CompletableFuture with
a
| |
| cancelUpstream | back to summary |
|---|---|
| pack-priv void cancelUpstream() | |
| clear | back to summary |
|---|---|
| pack-priv void clear() | |
| complete | back to summary |
|---|---|
| public boolean complete(T value) Overrides java. Doc from java. If not already completed, sets the value returned by
| |
| completeExceptionally | back to summary |
|---|---|
| public boolean completeExceptionally(Throwable ex) Overrides java. Doc from java. If not already completed, causes invocations of | |
| 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 t)
| |
| onSubscribe | back to summary |
|---|---|
public void onSubscribe(@NonNull Disposable d)
| |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T t) Implements io. Doc from io. Notifies the
The
| |