@Singleton
public class MetricsReporterService
extends com.google.common.util.concurrent.AbstractIdleService
| Constructor and Description |
|---|
MetricsReporterService(Configuration configuration,
com.codahale.metrics.MetricRegistry metricRegistry,
MongoConnection mongoConnection,
ServerStatus serverStatus) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
shutDown() |
protected void |
startUp() |
@Inject public MetricsReporterService(Configuration configuration, com.codahale.metrics.MetricRegistry metricRegistry, MongoConnection mongoConnection, ServerStatus serverStatus)
protected void startUp()
throws java.lang.Exception
startUp in class com.google.common.util.concurrent.AbstractIdleServicejava.lang.Exceptionprotected void shutDown()
throws java.lang.Exception
shutDown in class com.google.common.util.concurrent.AbstractIdleServicejava.lang.ExceptionCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.