public static enum CassandraProperties.ThrottlerType extends java.lang.Enum<CassandraProperties.ThrottlerType>
| Enum Constant and Description |
|---|
CONCURRENCY_LIMITING
Limit the number of requests that can be executed in parallel.
|
NONE
No request throttling.
|
RATE_LIMITING
Limits the request rate per second.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
type() |
static CassandraProperties.ThrottlerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CassandraProperties.ThrottlerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CassandraProperties.ThrottlerType CONCURRENCY_LIMITING
public static final CassandraProperties.ThrottlerType RATE_LIMITING
public static final CassandraProperties.ThrottlerType NONE
public static CassandraProperties.ThrottlerType[] values()
for (CassandraProperties.ThrottlerType c : CassandraProperties.ThrottlerType.values()) System.out.println(c);
public static CassandraProperties.ThrottlerType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String type()