public static class RedisThrottlerConfig.Builder extends Object implements org.apache.logging.log4j.core.util.Builder<RedisThrottlerConfig>
| Modifier and Type | Method and Description |
|---|---|
RedisThrottlerConfig |
build() |
int |
getBatchSize() |
int |
getBufferSize() |
long |
getFlushPeriodMillis() |
int |
getMaxEventCountPerSecond() |
RedisThrottlerConfig.Builder |
setBatchSize(int batchSize) |
RedisThrottlerConfig.Builder |
setBufferSize(int bufferSize) |
RedisThrottlerConfig.Builder |
setFlushPeriodMillis(long flushPeriodMillis) |
RedisThrottlerConfig.Builder |
setMaxEventCountPerSecond(int maxEventCountPerSecond) |
String |
toString() |
public int getBufferSize()
public RedisThrottlerConfig.Builder setBufferSize(int bufferSize)
public int getBatchSize()
public RedisThrottlerConfig.Builder setBatchSize(int batchSize)
public long getFlushPeriodMillis()
public RedisThrottlerConfig.Builder setFlushPeriodMillis(long flushPeriodMillis)
public int getMaxEventCountPerSecond()
public RedisThrottlerConfig.Builder setMaxEventCountPerSecond(int maxEventCountPerSecond)
public RedisThrottlerConfig build()
build in interface org.apache.logging.log4j.core.util.Builder<RedisThrottlerConfig>Copyright © 2017. All rights reserved.