Class MetricsCollectionTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.camunda.bpm.engine.impl.metrics.reporter.MetricsCollectionTask
-
- All Implemented Interfaces:
java.lang.Runnable
public class MetricsCollectionTask extends java.util.TimerTask- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classMetricsCollectionTask.MetricsCollectionCmd
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutorcommandExecutorprotected MetricsRegistrymetricsRegistryprotected java.lang.StringreporterId
-
Constructor Summary
Constructors Constructor Description MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcollectMetrics()java.lang.StringgetReporter()voidrun()voidsetReporter(java.lang.String reporterId)
-
-
-
Field Detail
-
metricsRegistry
protected MetricsRegistry metricsRegistry
-
commandExecutor
protected CommandExecutor commandExecutor
-
reporterId
protected java.lang.String reporterId
-
-
Constructor Detail
-
MetricsCollectionTask
public MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
-
-