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, unregisterExtension
protected final com.codahale.metrics.MetricRegistry metrics
public DatadogReporterServiceImpl()
public void applicationStarted(ComponentContext context)
Component
applicationStarted
in interface Component
applicationStarted
in class DefaultComponent
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void startReporter()
DatadogReporterService
startReporter
in interface DatadogReporterService
public void stopReporter()
DatadogReporterService
stopReporter
in interface DatadogReporterService
Copyright © 2016 Nuxeo SA. All rights reserved.