public enum VoidMetricFetcher extends Enum<VoidMetricFetcher> implements MetricFetcher
MetricFetcher.| 枚举常量和说明 |
|---|
INSTANCE |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getLastUpdateTime() |
MetricStore |
getMetricStore()
Get
MetricStore which contains all currently fetched metrics. |
void |
update()
Trigger fetching of metrics.
|
static VoidMetricFetcher |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static VoidMetricFetcher[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final VoidMetricFetcher INSTANCE
public static VoidMetricFetcher[] values()
for (VoidMetricFetcher c : VoidMetricFetcher.values()) System.out.println(c);
public static VoidMetricFetcher valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public MetricStore getMetricStore()
MetricFetcherMetricStore which contains all currently fetched metrics.getMetricStore 在接口中 MetricFetcherMetricStore with all fetched metricspublic void update()
MetricFetcherupdate 在接口中 MetricFetcherpublic long getLastUpdateTime()
getLastUpdateTime 在接口中 MetricFetcherCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.