public enum MetricType extends Enum<MetricType>
| 枚举常量和说明 |
|---|
count |
gauge
Names of 'gauge' and 'count' must not be changed
since they are mapped to json objects in a Datadog-defined format.
|
public static final MetricType gauge
public static final MetricType count
public static MetricType[] values()
for (MetricType c : MetricType.values()) System.out.println(c);
public static MetricType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.