public enum NoopMixinMetric extends Enum<NoopMixinMetric> implements MixinMetric
| 枚举常量和说明 |
|---|
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
Counter |
counter(String componentCounterName) |
DistributionSummary |
distributionSummary(String componentDistributionSummaryName) |
<T extends Number> |
gauge(String componentGaugeName,
Gauge<T> componentGauge) |
Id |
id()
Identifier used to lookup this metric in the registry.
|
Indicator |
measure()
Get the set of measurements
|
Timer |
timer(String componentTimerName) |
static NoopMixinMetric |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static NoopMixinMetric[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final NoopMixinMetric INSTANCE
public static NoopMixinMetric[] values()
for (NoopMixinMetric c : NoopMixinMetric.values()) System.out.println(c);
public static NoopMixinMetric valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public Counter counter(String componentCounterName)
counter 在接口中 MixinMetricpublic Timer timer(String componentTimerName)
timer 在接口中 MixinMetricpublic DistributionSummary distributionSummary(String componentDistributionSummaryName)
distributionSummary 在接口中 MixinMetricCopyright © 2018. All rights reserved.