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()
    • getDiagnosticsMeters

      public Map<String,Meter> getDiagnosticsMeters()
    • clearDiagnosticsMetrics

      public void clearDiagnosticsMetrics()
    • markOccurrence

      public void markOccurrence(String name)
    • markOccurrence

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

      public void markDiagnosticsOccurrence(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 diagnostics collection.
    • createDbMeter

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