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() |
String |
getJmxBeanName() |
double |
getMaxByteCountPerSecond() |
double |
getMaxEventCountPerSecond() |
RedisThrottlerConfig.Builder |
setBatchSize(int batchSize) |
RedisThrottlerConfig.Builder |
setBufferSize(int bufferSize) |
RedisThrottlerConfig.Builder |
setFlushPeriodMillis(long flushPeriodMillis) |
RedisThrottlerConfig.Builder |
setJmxBeanName(String jmxBeanName) |
RedisThrottlerConfig.Builder |
setMaxByteCountPerSecond(double maxByteCountPerSecond) |
RedisThrottlerConfig.Builder |
setMaxEventCountPerSecond(double 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 double getMaxEventCountPerSecond()
public RedisThrottlerConfig.Builder setMaxEventCountPerSecond(double maxEventCountPerSecond)
public double getMaxByteCountPerSecond()
public RedisThrottlerConfig.Builder setMaxByteCountPerSecond(double maxByteCountPerSecond)
public String getJmxBeanName()
public RedisThrottlerConfig.Builder setJmxBeanName(String jmxBeanName)
public RedisThrottlerConfig build()
build in interface org.apache.logging.log4j.core.util.Builder<RedisThrottlerConfig>Copyright © 2017. All rights reserved.