public enum MetricType extends EnumSE<MetricType>
ManagedMetric
の測定値が時間とともにどのように変化するかを表します。修飾子と型 | メソッドと説明 |
---|---|
static MetricType | valueOf(StringSE name) 指定された名前を持つこの型の列挙定数を返します。 |
static MetricType[] | values() この列挙型の定数を含む配列を、宣言されている順序で返します。 |
cloneSE, compareToSE, equalsSE, finalizeSE, getDeclaringClassSE, hashCodeSE, nameSE, ordinalSE, toStringSE, valueOfSE
getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public static final MetricType GAUGE
public static final MetricType COUNTER
public static MetricType[] values()
for (MetricType c : MetricType.values()) System.out.println(c);
public static MetricType valueOf(StringSE name)
name
- 返される列挙定数の名前。IllegalArgumentExceptionSE
- この列挙型に指定された名前の定数がない場合 NullPointerExceptionSE
- 引数が null の場合