public class JmxMetricsManager extends Object implements MetricsManager
| Constructor and Description |
|---|
JmxMetricsManager() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.Counter |
counter(String name)
Get the Counter with the given name, creating it if
it does not exist.
|
String |
getNamePrefix(Object obj)
Get the name prefix for Counters or Timers for
this manager.
|
String |
getNamePrefix(Object obj,
String qualifier)
Get the name prefix for Counters or Timers for
this manager, including the provided qualifier
with the generated prefix.
|
com.codahale.metrics.MetricRegistry |
getRegistry()
Get the MetricRegistry associated with this MetricsManager.
|
com.codahale.metrics.Timer |
timer(String name)
Get the Timer with the given name, creating it if
it does not exist.
|
public com.codahale.metrics.MetricRegistry getRegistry()
MetricsManagergetRegistry in interface MetricsManagerpublic String getNamePrefix(Object obj)
MetricsManagergetNamePrefix in interface MetricsManagerobj - the object to generate a prefix forpublic String getNamePrefix(Object obj, String qualifier)
MetricsManagergetNamePrefix in interface MetricsManagerobj - the object to generate a prefix forqualifier - the qualifierpublic com.codahale.metrics.Counter counter(String name)
MetricsManagercounter in interface MetricsManagername - the name of the Counterpublic com.codahale.metrics.Timer timer(String name)
MetricsManagertimer in interface MetricsManagername - the name of the TimerCopyright © 2013–2016 V5 Analytics. All rights reserved.