public static class CassandraProperties.Throttler
extends java.lang.Object
| Constructor and Description |
|---|
Throttler() |
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getDrainInterval() |
java.lang.Integer |
getMaxConcurrentRequests() |
java.lang.Integer |
getMaxQueueSize() |
java.lang.Integer |
getMaxRequestsPerSecond() |
CassandraProperties.ThrottlerType |
getType() |
void |
setDrainInterval(java.time.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 java.lang.Integer getMaxQueueSize()
public void setMaxQueueSize(int maxQueueSize)
public java.lang.Integer getMaxConcurrentRequests()
public void setMaxConcurrentRequests(int maxConcurrentRequests)
public java.lang.Integer getMaxRequestsPerSecond()
public void setMaxRequestsPerSecond(int maxRequestsPerSecond)
public java.time.Duration getDrainInterval()
public void setDrainInterval(java.time.Duration drainInterval)