public interface MetricsManager
| 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.
|
String getNamePrefix(Object obj)
obj - the object to generate a prefix forString getNamePrefix(Object obj, String qualifier)
obj - the object to generate a prefix forqualifier - the qualifiercom.codahale.metrics.MetricRegistry getRegistry()
com.codahale.metrics.Counter counter(String name)
name - the name of the Countercom.codahale.metrics.Timer timer(String name)
name - the name of the TimerCopyright © 2013–2016 V5 Analytics. All rights reserved.