public interface StatsService extends Service
Modifier and Type | Method and Description |
---|---|
void |
doStatsWork(StatsWork statsWork,
java.lang.String statsWorkName)
Process the given
StatsWork . |
com.newrelic.api.agent.MetricAggregator |
getMetricAggregator() |
StatsEngine |
getStatsEngineForHarvest(java.lang.String appName)
Get a
StatsEngine containing the metric data to be sent to the server in the next harvest. |
getLogger, getName, isEnabled, isStarted, isStartedOrStarting, isStopped, isStoppedOrStopping, start, stop
void doStatsWork(StatsWork statsWork, java.lang.String statsWorkName)
StatsWork
.StatsEngine getStatsEngineForHarvest(java.lang.String appName)
StatsEngine
containing the metric data to be sent to the server in the next harvest.
This should only be called by the HarvestService
com.newrelic.api.agent.MetricAggregator getMetricAggregator()