Class ObserverRateLimiter.RateLimiterObserver
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractObserver<T>
io.github.resilience4j.rxjava3.ratelimiter.operator.ObserverRateLimiter.RateLimiterObserver
- All Implemented Interfaces:
io.reactivex.rxjava3.core.Observer<T>, io.reactivex.rxjava3.disposables.Disposable
- Enclosing class:
ObserverRateLimiter<T>
-
Field Summary
Fields inherited from class AbstractObserver
eventWasEmitted -
Constructor Summary
ConstructorsConstructorDescriptionRateLimiterObserver(io.reactivex.rxjava3.core.Observer<? super T> downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidprotected voidhookOnNext(T value) Methods inherited from class AbstractObserver
hookOnSubscribe, onComplete, onError, onNextMethods inherited from class AbstractDisposable
dispose, isDisposed, onSubscribe, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.reactivex.rxjava3.core.Observer
onSubscribe
-
Constructor Details
-
RateLimiterObserver
RateLimiterObserver(io.reactivex.rxjava3.core.Observer<? super T> downstreamObserver)
-
-
Method Details
-
hookOnError
- Specified by:
hookOnErrorin classAbstractObserver<T>
-
hookOnNext
- Overrides:
hookOnNextin classAbstractObserver<T>
-
hookOnComplete
protected void hookOnComplete()- Specified by:
hookOnCompletein classAbstractObserver<T>
-
hookOnCancel
protected void hookOnCancel()- Specified by:
hookOnCancelin classAbstractDisposable
-