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 TypeMethodDescriptionvoidRedissonRateLimiter.setRate(RateType type, long rate, long rateInterval, RateIntervalUnit unit) voidvoidRedissonRateLimiter.setRateAsync(RateType type, long rate, long rateInterval, RateIntervalUnit unit) RedissonRateLimiter.setRateAsync(RateType mode, long rate, Duration rateInterval) RedissonRateLimiter.setRateAsync(RateType type, long rate, Duration rateInterval, Duration timeToLive) booleanRedissonRateLimiter.trySetRate(RateType type, long rate, long rateInterval, RateIntervalUnit unit) booleanRedissonRateLimiter.trySetRate(RateType mode, long rate, Duration rateInterval) booleanRedissonRateLimiter.trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive) RedissonRateLimiter.trySetRateAsync(RateType type, long rate, long rateInterval, RateIntervalUnit unit) RedissonRateLimiter.trySetRateAsync(RateType mode, long rate, Duration rateInterval) RedissonRateLimiter.trySetRateAsync(RateType type, long rate, Duration rateInterval, Duration timeToLive) -
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 RateTypeReturns 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 TypeMethodDescriptionvoidRRateLimiter.setRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.voidSets the rate limit and clears the state.voidSets time to live, the rate limit, and clears the state.reactor.core.publisher.Mono<Void> RRateLimiterReactive.setRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.reactor.core.publisher.Mono<Void> Sets the rate limit and clears the state.reactor.core.publisher.Mono<Void> Sets time to live, the rate limit, and clears the state.io.reactivex.rxjava3.core.Single<Void> RRateLimiterRx.setRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.io.reactivex.rxjava3.core.Single<Void> Sets the rate limit and clears the state.io.reactivex.rxjava3.core.Single<Void> Sets time to live, the rate limit, and clears the state.RRateLimiterAsync.setRateAsync(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.RRateLimiterAsync.setRateAsync(RateType mode, long rate, Duration rateInterval) Sets the rate limit and clears the state.RRateLimiterAsync.setRateAsync(RateType mode, long rate, Duration rateInterval, Duration timeToLive) Sets time to live, the rate limit, and clears the state.booleanRRateLimiter.trySetRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.booleanRRateLimiter.trySetRate(RateType mode, long rate, Duration rateInterval) Sets the rate limit only if it hasn't been set before.booleanRRateLimiter.trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive) Sets the rate limit only if it hasn't been set before.reactor.core.publisher.Mono<Boolean> RRateLimiterReactive.trySetRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.reactor.core.publisher.Mono<Boolean> RRateLimiterReactive.trySetRate(RateType mode, long rate, Duration rateInterval) Sets the rate limit only if it hasn't been set before.reactor.core.publisher.Mono<Boolean> RRateLimiterReactive.trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive) Sets the rate limit only if it hasn't been set before.io.reactivex.rxjava3.core.Single<Boolean> RRateLimiterRx.trySetRate(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.io.reactivex.rxjava3.core.Single<Boolean> RRateLimiterRx.trySetRate(RateType mode, long rate, Duration rateInterval) Sets the rate limit only if it hasn't been set before.io.reactivex.rxjava3.core.Single<Boolean> RRateLimiterRx.trySetRate(RateType mode, long rate, Duration rateInterval, Duration timeToLive) Sets the rate limit only if it hasn't been set before.RRateLimiterAsync.trySetRateAsync(RateType mode, long rate, long rateInterval, RateIntervalUnit rateIntervalUnit) Deprecated.RRateLimiterAsync.trySetRateAsync(RateType mode, long rate, Duration rateInterval) Sets the rate limit only if it hasn't been set before.RRateLimiterAsync.trySetRateAsync(RateType mode, long rate, Duration rateInterval, Duration timeToLive) Sets the rate limit only if it hasn't been set before.Constructors in org.redisson.api with parameters of type RateType