Class DbMetricsReporter

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

public class DbMetricsReporter extends Object
Author:
Daniel Meyer
  • Field Details

    • metricsRegistry

      protected MetricsRegistry metricsRegistry
    • commandExecutor

      protected CommandExecutor commandExecutor
    • reporterId

      protected String reporterId
    • reportingIntervalInSeconds

      protected long reportingIntervalInSeconds
    • metricsCollectionTask

      protected MetricsCollectionTask metricsCollectionTask
  • Constructor Details

  • Method Details

    • initMetricsCollectionTask

      protected void initMetricsCollectionTask()
    • start

      public void start()
    • stop

      public void stop()
    • reportNow

      public void reportNow()
    • reportValueAtOnce

      public void reportValueAtOnce(String name, long value)
    • 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)