Uses of Class
org.redisson.api.RateType
-
Packages that use RateType Package Description org.redisson org.redisson.api -
-
Uses of RateType in org.redisson
Methods in org.redisson with parameters of type RateType Modifier and Type Method Description boolean
RedissonRateLimiter. trySetRate(RateType type, long rate, long rateInterval, RateIntervalUnit unit)
RFuture<Boolean>
RedissonRateLimiter. trySetRateAsync(RateType type, long rate, long rateInterval, RateIntervalUnit unit)
-
Uses of RateType in org.redisson.api
Methods in org.redisson.api that return RateType Modifier and Type Method Description static RateType
RateType. valueOf(String name)
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 RateType Modifier and Type Method Description boolean
RRateLimiter. trySetRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit)
Initializes RateLimiter's state and stores config to Redis server.org.reactivestreams.Publisher<Boolean>
RRateLimiterReactive. trySetRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit)
Initializes RateLimiter's state and stores config to Redis server.RFuture<Boolean>
RRateLimiterAsync. trySetRateAsync(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit)
Initializes RateLimiter's state and stores config to Redis server.
-