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  MetricsRegistry metricsRegistry
           
protected  String reporterId
           
 
Constructor Summary
MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
           
 
Method Summary
protected  void collectMetrics()
           
 String getReporter()
           
 void run()
           
 void setReporter(String reporterId)
           
 
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

metricsRegistry

protected MetricsRegistry metricsRegistry

commandExecutor

protected CommandExecutor commandExecutor

reporterId

protected String reporterId
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()

getReporter

public String getReporter()

setReporter

public void setReporter(String reporterId)


Copyright © 2015 camunda services GmbH. All rights reserved.