Class SingleRateLimiter<T>

java.lang.Object
io.reactivex.rxjava3.core.Single<T>
io.github.resilience4j.rxjava3.ratelimiter.operator.SingleRateLimiter<T>
All Implemented Interfaces:
io.reactivex.rxjava3.core.SingleSource<T>

class SingleRateLimiter<T> extends io.reactivex.rxjava3.core.Single<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final io.github.resilience4j.ratelimiter.RateLimiter
     
    private final io.reactivex.rxjava3.core.Single<T>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SingleRateLimiter(io.reactivex.rxjava3.core.Single<T> upstream, io.github.resilience4j.ratelimiter.RateLimiter rateLimiter)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    subscribeActual(io.reactivex.rxjava3.core.SingleObserver<? super T> downstream)
     

    Methods inherited from class io.reactivex.rxjava3.core.Single

    amb, ambArray, ambWith, blockingGet, blockingSubscribe, blockingSubscribe, blockingSubscribe, blockingSubscribe, cache, cast, compose, concat, concat, concat, concat, concat, concat, concat, concatArray, concatArrayDelayError, concatArrayEager, concatArrayEagerDelayError, concatDelayError, concatDelayError, concatDelayError, concatEager, concatEager, concatEager, concatEager, concatEagerDelayError, concatEagerDelayError, concatEagerDelayError, concatEagerDelayError, concatMap, concatMapCompletable, concatMapMaybe, concatWith, contains, contains, create, defer, delay, delay, delay, delay, delaySubscription, delaySubscription, delaySubscription, delaySubscription, delaySubscription, delaySubscription, dematerialize, doAfterSuccess, doAfterTerminate, doFinally, doOnDispose, doOnError, doOnEvent, doOnLifecycle, doOnSubscribe, doOnSuccess, doOnTerminate, error, error, filter, flatMap, flatMap, flatMap, flatMapCompletable, flatMapMaybe, flatMapObservable, flatMapPublisher, flattenAsFlowable, flattenAsObservable, flattenStreamAsFlowable, flattenStreamAsObservable, fromCallable, fromCompletionStage, fromFuture, fromFuture, fromMaybe, fromMaybe, fromObservable, fromPublisher, fromSupplier, hide, ignoreElement, just, lift, map, mapOptional, materialize, merge, merge, merge, merge, merge, merge, mergeArray, mergeArrayDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeWith, never, observeOn, ofType, onErrorComplete, onErrorComplete, onErrorResumeNext, onErrorResumeWith, onErrorReturn, onErrorReturnItem, onTerminateDetach, repeat, repeat, repeatUntil, repeatWhen, retry, retry, retry, retry, retry, retryUntil, retryWhen, safeSubscribe, sequenceEqual, startWith, startWith, startWith, startWith, startWith, subscribe, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscribeWith, switchOnNext, switchOnNextDelayError, takeUntil, takeUntil, takeUntil, test, test, timeInterval, timeInterval, timeInterval, timeInterval, timeout, timeout, timeout, timeout, timer, timer, timestamp, timestamp, timestamp, timestamp, to, toCompletionStage, toFlowable, toFuture, toMaybe, toObservable, unsafeCreate, unsubscribeOn, using, using, wrap, zip, zip, zip, zip, zip, zip, zip, zip, zip, zipArray, zipWith

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • rateLimiter

      private final io.github.resilience4j.ratelimiter.RateLimiter rateLimiter
    • upstream

      private final io.reactivex.rxjava3.core.Single<T> upstream
  • Constructor Details

    • SingleRateLimiter

      SingleRateLimiter(io.reactivex.rxjava3.core.Single<T> upstream, io.github.resilience4j.ratelimiter.RateLimiter rateLimiter)
  • Method Details

    • subscribeActual

      protected void subscribeActual(io.reactivex.rxjava3.core.SingleObserver<? super T> downstream)
      Specified by:
      subscribeActual in class io.reactivex.rxjava3.core.Single<T>