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