Uses of Enum
org.redisson.api.RateIntervalUnit
-
Uses of RateIntervalUnit in org.redisson
Modifier and TypeMethodDescriptionvoid
RedissonRateLimiter.setRate
(RateType type, long rate, long rateInterval, RateIntervalUnit unit) RedissonRateLimiter.setRateAsync
(RateType type, long rate, long rateInterval, RateIntervalUnit unit) boolean
RedissonRateLimiter.trySetRate
(RateType type, long rate, long rateInterval, RateIntervalUnit unit) RedissonRateLimiter.trySetRateAsync
(RateType type, long rate, long rateInterval, RateIntervalUnit unit) -
Uses of RateIntervalUnit in org.redisson.api
Modifier and TypeMethodDescriptionstatic RateIntervalUnit
Returns the enum constant of this type with the specified name.static RateIntervalUnit[]
RateIntervalUnit.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
RRateLimiter.setRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Updates RateLimiter's state and stores config to Redis server.reactor.core.publisher.Mono<Void>
RRateLimiterReactive.setRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Updates RateLimiter's state and stores config to Redis server.io.reactivex.rxjava3.core.Single<Void>
RRateLimiterRx.setRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Updates RateLimiter's state and stores config to Redis server.RRateLimiterAsync.setRateAsync
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Updates RateLimiter's state and stores config to Redis server.boolean
RRateLimiter.trySetRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Initializes RateLimiter's state and stores config to Redis server.reactor.core.publisher.Mono<Boolean>
RRateLimiterReactive.trySetRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Initializes RateLimiter's state and stores config to Redis server.io.reactivex.rxjava3.core.Single<Boolean>
RRateLimiterRx.trySetRate
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Initializes RateLimiter's state and stores config to Redis server.RRateLimiterAsync.trySetRateAsync
(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Initializes RateLimiter's state and stores config to Redis server.