public static enum CassandraProperties.ThrottlerType extends EnumSE<CassandraProperties.ThrottlerType>
列挙型定数と説明 |
---|
CONCURRENCY_LIMITING 並行して実行できるリクエストの数を制限します。 |
NONE リクエストの調整はありません。 |
RATE_LIMITING 1 秒あたりのリクエストレートを制限します。 |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | type() |
static CassandraProperties.ThrottlerType | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static CassandraProperties.ThrottlerType[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
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(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合 public StringSE type()