Class CassandraProperties.Throttler
java.lang.Object
org.springframework.boot.autoconfigure.cassandra.CassandraProperties.Throttler
- Enclosing class:
- CassandraProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
int
getType()
void
setDrainInterval
(Duration drainInterval) void
setMaxConcurrentRequests
(int maxConcurrentRequests) void
setMaxQueueSize
(int maxQueueSize) void
setMaxRequestsPerSecond
(int maxRequestsPerSecond) void
-
Constructor Details
-
Throttler
public Throttler()
-
-
Method Details
-
getType
-
setType
-
getMaxQueueSize
public int getMaxQueueSize() -
setMaxQueueSize
public void setMaxQueueSize(int maxQueueSize) -
getMaxConcurrentRequests
public int getMaxConcurrentRequests() -
setMaxConcurrentRequests
public void setMaxConcurrentRequests(int maxConcurrentRequests) -
getMaxRequestsPerSecond
public int getMaxRequestsPerSecond() -
setMaxRequestsPerSecond
public void setMaxRequestsPerSecond(int maxRequestsPerSecond) -
getDrainInterval
-
setDrainInterval
-