| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final Consumer | |
| pack-priv final boolean | |
| pack-priv final Supplier |
| Access | Constructor and Description |
|---|---|
| public | CompletableUsing(Supplier<R> resourceSupplier, Function<? super R, ? extends CompletableSource> completableFunction, Consumer<? super R> disposer, boolean eager)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void |
| completableFunction | back to summary |
|---|---|
| pack-priv final Function<? super R, ? extends CompletableSource> completableFunction | |
| disposer | back to summary |
|---|---|
| pack-priv final Consumer<? super R> disposer | |
| eager | back to summary |
|---|---|
| pack-priv final boolean eager | |
| resourceSupplier | back to summary |
|---|---|
| pack-priv final Supplier<R> resourceSupplier | |
| CompletableUsing | back to summary |
|---|---|
| public CompletableUsing(Supplier<R> resourceSupplier, Function<? super R, ? extends CompletableSource> completableFunction, Consumer<? super R> disposer, boolean eager) | |
| subscribeActual | back to summary |
|---|---|
protected void subscribeActual(CompletableObserver observer)
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Consumer | |
| pack-priv final CompletableObserver | |
| pack-priv final boolean | |
| private static final long | |
| pack-priv Disposable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| pack-priv void | |
| public boolean | isDisposed()
Implements io. |
| public void | onComplete()
Implements io. |
| public void | |
| public void |
| disposer | back to summary |
|---|---|
| pack-priv final Consumer<? super R> disposer | |
| downstream | back to summary |
|---|---|
| pack-priv final CompletableObserver downstream | |
| eager | back to summary |
|---|---|
| pack-priv final boolean eager | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| upstream | back to summary |
|---|---|
| pack-priv Disposable upstream | |
| UsingObserver | back to summary |
|---|---|
| pack-priv UsingObserver(CompletableObserver actual, R resource, Consumer<? super R> disposer, boolean eager) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| disposeResource | back to summary |
|---|---|
pack-priv void disposeResource()
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements io. Doc from io. Returns true if this resource has been disposed.
| |
| 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)
| |