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 |
|---|---|
void |
applicationStarted(ComponentContext context)
Notify the component that Nuxeo Framework finished starting all Nuxeo bundles.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
startReporter()
Starts the datadog reporter if it's not started.
|
void |
stopReporter()
Stops the datadog reporter if it's started.
|
activate, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtensionprotected final com.codahale.metrics.MetricRegistry metrics
public DatadogReporterServiceImpl()
public void applicationStarted(ComponentContext context)
ComponentapplicationStarted in interface ComponentapplicationStarted in class DefaultComponentpublic void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution in class DefaultComponentpublic void startReporter()
DatadogReporterServicestartReporter in interface DatadogReporterServicepublic void stopReporter()
DatadogReporterServicestopReporter in interface DatadogReporterServiceCopyright © 2016 Nuxeo SA. All rights reserved.