Search in sources :

Example 1 with MergeStatsEngine

use of com.newrelic.agent.stats.MergeStatsEngine in project newrelic-java-agent by newrelic.

the class SamplerServiceImpl method mergeStatsEngine.

private void mergeStatsEngine(String appName) {
    StatsService statsService = ServiceFactory.getStatsService();
    StatsWork work = new MergeStatsEngine(appName, statsEngine);
    statsService.doStatsWork(work, statsService.getName());
}
Also used : StatsWork(com.newrelic.agent.stats.StatsWork) StatsService(com.newrelic.agent.stats.StatsService) MergeStatsEngine(com.newrelic.agent.stats.MergeStatsEngine)

Aggregations

MergeStatsEngine (com.newrelic.agent.stats.MergeStatsEngine)1 StatsService (com.newrelic.agent.stats.StatsService)1 StatsWork (com.newrelic.agent.stats.StatsWork)1