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, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterContribution, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicationStartedOrder
protected final com.codahale.metrics.MetricRegistry metrics
public DatadogReporterServiceImpl()
public void applicationStarted(ComponentContext context)
Component
Component.start(ComponentContext)
and
Component.stop(ComponentContext)
methodsapplicationStarted
in interface Component
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 © 2018 Nuxeo. All rights reserved.