public class StatsRegistry extends Object implements StoppableService
| Constructor and Description |
|---|
StatsRegistry(ShutdownManager manager) |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.MetricRegistry |
getRegistry()
Returns the underlying registry instance
|
void |
shutdown()
Called to request this service clean up any ongoing work and terminate.
|
@Inject public StatsRegistry(ShutdownManager manager)
public com.codahale.metrics.MetricRegistry getRegistry()
public void shutdown()
StoppableServiceShutdownManager.shutdown() for the shutdown sequence guaranteesshutdown in interface StoppableServiceCopyright © 2014. All rights reserved.