public enum VoidMetricFetcher extends Enum<VoidMetricFetcher> implements MetricFetcher
MetricFetcher
.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
long |
getLastUpdateTime() |
MetricStore |
getMetricStore()
Get
MetricStore which contains all currently fetched metrics. |
void |
update()
Trigger fetching of metrics.
|
static VoidMetricFetcher |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VoidMetricFetcher[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic MetricStore getMetricStore()
MetricFetcher
MetricStore
which contains all currently fetched metrics.getMetricStore
in interface MetricFetcher
MetricStore
with all fetched metricspublic void update()
MetricFetcher
update
in interface MetricFetcher
public long getLastUpdateTime()
getLastUpdateTime
in interface MetricFetcher
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.