protected static class AbstractPolygeneMetricsTest.JmxMetricTestAdapter extends Object implements MetricValuesProvider
Modifier | Constructor and Description |
---|---|
protected |
JmxMetricTestAdapter() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
registeredMetricNames()
All registered metrics names.
|
long |
timerCount(String name)
Timer count.
|
public long timerCount(String name)
MetricValuesProvider
Should not throw. Must return 0 if the timer does not exist.
timerCount
in interface MetricValuesProvider
name
- Timer namepublic Collection<String> registeredMetricNames()
MetricValuesProvider
registeredMetricNames
in interface MetricValuesProvider