Class ObservableDebounce.DebounceObserver.DebounceInnerObserver<T,U>
java.lang.Object
io.reactivex.rxjava3.observers.DisposableObserver<U>
io.reactivex.rxjava3.internal.operators.observable.ObservableDebounce.DebounceObserver.DebounceInnerObserver<T,U>
- All Implemented Interfaces:
Observer<U>,Disposable
- Enclosing class:
ObservableDebounce.DebounceObserver<T,U>
static final class ObservableDebounce.DebounceObserver.DebounceInnerObserver<T,U>
extends DisposableObserver<U>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) final long(package private) final AtomicBoolean(package private) final ObservableDebounce.DebounceObserver<T, U> (package private) final T -
Constructor Summary
ConstructorsConstructorDescriptionDebounceInnerObserver(ObservableDebounce.DebounceObserver<T, U> parent, long index, T value) -
Method Summary
Modifier and TypeMethodDescription(package private) voidemit()voidNotifies theObserverthat theObservablehas finished sending push-based notifications.voidNotifies theObserverthat theObservablehas experienced an error condition.voidProvides theObserverwith a new item to observe.Methods inherited from class io.reactivex.rxjava3.observers.DisposableObserver
dispose, isDisposed, onStart, onSubscribe
-
Field Details
-
parent
-
index
final long index -
value
-
done
boolean done -
once
-
-
Constructor Details
-
DebounceInnerObserver
DebounceInnerObserver(ObservableDebounce.DebounceObserver<T, U> parent, long index, T value)
-
-
Method Details
-
onNext
Description copied from interface:ObserverProvides theObserverwith a new item to observe.The
Observablemay call this method 0 or more times.The
Observablewill not call this method again after it calls eitherObserver.onComplete()orObserver.onError(java.lang.Throwable).- Parameters:
t- the item emitted by the Observable
-
emit
void emit() -
onError
Description copied from interface:ObserverNotifies theObserverthat theObservablehas experienced an error condition.If the
Observablecalls this method, it will not thereafter callObserver.onNext(T)orObserver.onComplete().- Parameters:
t- the exception encountered by the Observable
-
onComplete
public void onComplete()Description copied from interface:ObserverNotifies theObserverthat theObservablehas finished sending push-based notifications.The
Observablewill not call this method if it callsObserver.onError(java.lang.Throwable).
-