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  String reporterId
           
protected  long reportingIntervalInSeconds
           
 
Constructor Summary
DbMetricsReporter(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
           
 
Method Summary
 CommandExecutor getCommandExecutor()
           
 MetricsCollectionTask getMetricsCollectionTask()
           
 MetricsRegistry getMetricsRegistry()
           
 long getReportingIntervalInSeconds()
           
protected  void initMetricsCollectionTask()
           
 void reportNow()
           
 void setMetricsCollectionTask(MetricsCollectionTask metricsCollectionTask)
           
 void setReporterId(String reporterId)
           
 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

reporterId

protected String reporterId

reportingIntervalInSeconds

protected long reportingIntervalInSeconds

metricsCollectionTask

protected MetricsCollectionTask metricsCollectionTask
Constructor Detail

DbMetricsReporter

public DbMetricsReporter(MetricsRegistry metricsRegistry,
                         CommandExecutor commandExecutor)
Method Detail

initMetricsCollectionTask

protected void initMetricsCollectionTask()

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)

setReporterId

public void setReporterId(String reporterId)


Copyright © 2015 camunda services GmbH. All rights reserved.