public static class CassandraProperties.Throttler extends Object
Constructor and Description |
---|
Throttler() |
Modifier and Type | Method and Description |
---|---|
Duration |
getDrainInterval() |
Integer |
getMaxConcurrentRequests() |
Integer |
getMaxQueueSize() |
Integer |
getMaxRequestsPerSecond() |
CassandraProperties.ThrottlerType |
getType() |
void |
setDrainInterval(Duration drainInterval) |
void |
setMaxConcurrentRequests(int maxConcurrentRequests) |
void |
setMaxQueueSize(int maxQueueSize) |
void |
setMaxRequestsPerSecond(int maxRequestsPerSecond) |
void |
setType(CassandraProperties.ThrottlerType type) |
public CassandraProperties.ThrottlerType getType()
public void setType(CassandraProperties.ThrottlerType type)
public Integer getMaxQueueSize()
public void setMaxQueueSize(int maxQueueSize)
public Integer getMaxConcurrentRequests()
public void setMaxConcurrentRequests(int maxConcurrentRequests)
public Integer getMaxRequestsPerSecond()
public void setMaxRequestsPerSecond(int maxRequestsPerSecond)
public Duration getDrainInterval()
public void setDrainInterval(Duration drainInterval)