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)
MetricValuesProviderShould not throw. Must return 0 if the timer does not exist.
timerCount in interface MetricValuesProvidername - Timer namepublic Collection<String> registeredMetricNames()
MetricValuesProviderregisteredMetricNames in interface MetricValuesProvider