public class DatadogReporterServiceImpl extends DefaultComponent implements DatadogReporterService
Modifier and Type | Field and Description |
---|---|
protected com.codahale.metrics.MetricRegistry |
metrics |
lastModified
Constructor and Description |
---|
DatadogReporterServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.codahale.metrics.MetricFilter |
getFilter() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
start(ComponentContext context)
Start the component.
|
void |
startReporter()
Starts the datadog reporter if it's not started.
|
void |
stopReporter()
Stops the datadog reporter if it's started.
|
activate, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
protected final com.codahale.metrics.MetricRegistry metrics
public DatadogReporterServiceImpl()
public void start(ComponentContext context)
Component
start
in interface Component
start
in class DefaultComponent
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public com.codahale.metrics.MetricFilter getFilter()
public void startReporter()
DatadogReporterService
startReporter
in interface DatadogReporterService
public void stopReporter()
DatadogReporterService
stopReporter
in interface DatadogReporterService
Copyright © 2018 Nuxeo. All rights reserved.