org.camunda.bpm.engine.impl.metrics.reporter
Class MetricsCollectionTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.camunda.bpm.engine.impl.metrics.reporter.MetricsCollectionTask
All Implemented Interfaces:
Runnable

public class MetricsCollectionTask
extends TimerTask

Author:
Daniel Meyer

Field Summary
protected  CommandExecutor commandExecutor
           
protected static Logger log
           
protected  MetricsRegistry metricsRegistry
           
 
Constructor Summary
MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
           
 
Method Summary
protected  void collectMetrics()
           
 void run()
           
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log

metricsRegistry

protected MetricsRegistry metricsRegistry

commandExecutor

protected CommandExecutor commandExecutor
Constructor Detail

MetricsCollectionTask

public MetricsCollectionTask(MetricsRegistry metricsRegistry,
                             CommandExecutor commandExecutor)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

collectMetrics

protected void collectMetrics()


Copyright © 2015 camunda services GmbH. All rights reserved.