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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.metrics.reporter.DbMetricsReporter

public class DbMetricsReporter
extends Object

Author:
Daniel Meyer

Field Summary
protected  CommandExecutor commandExecutor
           
protected  MetricsCollectionTask metricsCollectionTask
           
protected  MetricsRegistry metricsRegistry
           
protected  long reportingIntervalInSeconds
           
 
Constructor Summary
DbMetricsReporter(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
           
 
Method Summary
 CommandExecutor getCommandExecutor()
           
 MetricsCollectionTask getMetricsCollectionTask()
           
 MetricsRegistry getMetricsRegistry()
           
 long getReportingIntervalInSeconds()
           
protected  void initMetricsColletionTask()
           
 void reportNow()
           
 void setMetricsCollectionTask(MetricsCollectionTask metricsCollectionTask)
           
 void setReportingIntervalInSeconds(long reportingIntervalInSeconds)
           
 void start()
           
 void stop()
           
 
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

reportingIntervalInSeconds

protected long reportingIntervalInSeconds

metricsCollectionTask

protected MetricsCollectionTask metricsCollectionTask
Constructor Detail

DbMetricsReporter

public DbMetricsReporter(MetricsRegistry metricsRegistry,
                         CommandExecutor commandExecutor)
Method Detail

initMetricsColletionTask

protected void initMetricsColletionTask()

start

public void start()

stop

public void stop()

reportNow

public void reportNow()

getReportingIntervalInSeconds

public long getReportingIntervalInSeconds()

setReportingIntervalInSeconds

public void setReportingIntervalInSeconds(long reportingIntervalInSeconds)

getMetricsRegistry

public MetricsRegistry getMetricsRegistry()

getCommandExecutor

public CommandExecutor getCommandExecutor()

getMetricsCollectionTask

public MetricsCollectionTask getMetricsCollectionTask()

setMetricsCollectionTask

public void setMetricsCollectionTask(MetricsCollectionTask metricsCollectionTask)


Copyright © 2015 camunda services GmbH. All rights reserved.