| Package | Description |
|---|---|
| org.redisson | |
| org.redisson.api |
| Modifier and Type | Method and Description |
|---|---|
boolean |
RedissonRateLimiter.trySetRate(RateType type,
long rate,
long rateInterval,
RateIntervalUnit unit) |
RFuture<Boolean> |
RedissonRateLimiter.trySetRateAsync(RateType type,
long rate,
long rateInterval,
RateIntervalUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
static RateIntervalUnit |
RateIntervalUnit.valueOf(String name)
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 Type | Method and Description |
|---|---|
boolean |
RRateLimiter.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.
|
Copyright © 2014–2018 The Redisson Project. All rights reserved.