Class MetricsRegistry
- java.lang.Object
-
- org.camunda.bpm.engine.impl.metrics.MetricsRegistry
-
public class MetricsRegistry extends Object
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description MetricsRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearTelemetryMetrics()
void
createDbMeter(String name)
Creates a meter only for database collection.void
createMeter(String name)
Creates a meter for both database and telemetry collection.Meter
getDbMeterByName(String name)
Map<String,Meter>
getDbMeters()
Map<String,Meter>
getTelemetryMeters()
void
markOccurrence(String name)
void
markOccurrence(String name, long times)
protected void
markOccurrence(Map<String,Meter> meters, String name, long times)
void
markTelemetryOccurrence(String name, long times)
-
-
-
Method Detail
-
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)
-
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.
-
-