Class MetricsRegistry

java.lang.Object
org.camunda.bpm.engine.impl.metrics.MetricsRegistry

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

  • Constructor Details

    • MetricsRegistry

      public MetricsRegistry()
  • Method Details

    • getDbMeterByName

      public Meter getDbMeterByName(String name)
    • getDbMeters

      public Map<String,Meter> getDbMeters()
    • getTelemetryMeters

      public Map<String,Meter> getTelemetryMeters()
    • clearTelemetryMetrics

      public void clearTelemetryMetrics()
    • markOccurrence

      public void markOccurrence(String name)
    • markOccurrence

      public void markOccurrence(String name, long times)
    • markTelemetryOccurrence

      public void markTelemetryOccurrence(String name, long times)
    • markOccurrence

      protected void markOccurrence(Map<String,Meter> meters, String name, long times)
    • createMeter

      public void createMeter(String name)
      Creates a meter for both database and telemetry collection.
    • createDbMeter

      public void createDbMeter(String name)
      Creates a meter only for database collection.