@Validated public static class RedisRateLimiter.Config extends Object
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBurstCapacity() |
int |
getReplenishRate() |
int |
getRequestedTokens() |
RedisRateLimiter.Config |
setBurstCapacity(int burstCapacity) |
RedisRateLimiter.Config |
setReplenishRate(int replenishRate) |
RedisRateLimiter.Config |
setRequestedTokens(int requestedTokens) |
String |
toString() |
public int getReplenishRate()
public RedisRateLimiter.Config setReplenishRate(int replenishRate)
public int getBurstCapacity()
public RedisRateLimiter.Config setBurstCapacity(int burstCapacity)
public int getRequestedTokens()
public RedisRateLimiter.Config setRequestedTokens(int requestedTokens)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.