public class RegistryService
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
dumpMetrics(java.io.PrintStream os)
Immediately dump the current metrics to the console
|
static RegistryService |
getInstance()
Create the instance
Inspired by: http://en.wikipedia.org/wiki/Double-checked_locking
|
com.codahale.metrics.MetricRegistry |
getMetrics()
Get the current registry service
TODO the new upstream SharedMetricRegistries may make this obsolete
|
public static RegistryService getInstance()
public com.codahale.metrics.MetricRegistry getMetrics()
public void dumpMetrics(java.io.PrintStream os)
os - Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.