public abstract class AbstractReporter extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractReporter(MetricsRegistry registry)
Creates a new
AbstractReporter instance. |
Modifier and Type | Method and Description |
---|---|
protected MetricsRegistry |
getMetricsRegistry()
Returns the reporter's
MetricsRegistry . |
void |
shutdown()
Stops the reporter and closes any internal resources.
|
protected AbstractReporter(MetricsRegistry registry)
AbstractReporter
instance.registry
- the MetricsRegistry
containing the metrics this reporter will
reportpublic void shutdown()
protected MetricsRegistry getMetricsRegistry()
MetricsRegistry
.MetricsRegistry
Copyright © 2014. All Rights Reserved.