Uses of Enum
org.redisson.api.RateType
Packages that use RateType
-
Uses of RateType in org.redisson
Methods in org.redisson with parameters of type RateTypeModifier 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 RateType in org.redisson.api
Methods in org.redisson.api that return RateTypeModifier and TypeMethodDescriptionRateLimiterConfig.getRateType()
Returns current rate type set throughRRateLimiter.trySetRate(RateType, long, long, RateIntervalUnit)
orRRateLimiterAsync.trySetRateAsync(RateType, long, long, RateIntervalUnit)
method.static RateType
Returns the enum constant of this type with the specified name.static RateType[]
RateType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.redisson.api with parameters of type RateTypeModifier 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.Constructors in org.redisson.api with parameters of type RateType