public class JvmMetricPoller extends java.lang.Object implements MetricPoller
Constructor and Description |
---|
JvmMetricPoller()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Metric> |
poll(MetricFilter filter)
Fetch the current values for a set of metrics that match the provided
filter.
|
java.util.List<Metric> |
poll(MetricFilter filter,
boolean reset)
Fetch the current values for a set of metrics that match the provided
filter.
|
public final java.util.List<Metric> poll(MetricFilter filter)
poll
in interface MetricPoller
filter
- retricts the set of metricspublic final java.util.List<Metric> poll(MetricFilter filter, boolean reset)
poll
in interface MetricPoller
filter
- retricts the set of metricsreset
- ignored. This is kept for backwards compatibility only.