io.reactivex.rxjava3.disposables.CompositeDisposable .
History: 0.18.0 @ RxJavaExtensions
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AtomicReference | |
| pack-priv final Action | |
| pack-priv final Consumer | |
| pack-priv final Consumer | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | DisposableAutoReleaseSubscriber(DisposableContainer composite, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Action onComplete)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements io. |
| public boolean | hasCustomOnError()
Implements io. true or false if a custom onError consumer has been provided.
|
| public boolean | isDisposed()
Implements io. |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onNext(T
the element signaled t)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements org. Publisher#subscribe(Subscriber).
|
| pack-priv void |
| composite | back to summary |
|---|---|
| pack-priv final AtomicReference<DisposableContainer> composite | |
| onComplete | back to summary |
|---|---|
| pack-priv final Action onComplete | |
| onError | back to summary |
|---|---|
| pack-priv final Consumer<? super Throwable> onError | |
| onNext | back to summary |
|---|---|
| pack-priv final Consumer<? super T> onNext | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| DisposableAutoReleaseSubscriber | back to summary |
|---|---|
| public DisposableAutoReleaseSubscriber(DisposableContainer composite, Consumer<? super T> onNext, Consumer<? super Throwable> onError, Action onComplete) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements io. Doc from io. Dispose the resource, the operation should be idempotent.
| |
| hasCustomOnError | back to summary |
|---|---|
| public boolean hasCustomOnError() Implements io. Doc from io. Returns
| |
| 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 org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onNext | back to summary |
|---|---|
| public void onNext(T t) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements org. Doc from org. Invoked after calling
No data will start flowing until
It is the responsibility of this
The
| |
| removeSelf | back to summary |
|---|---|
| pack-priv void removeSelf() | |