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 class
MetricsCollectionTask.MetricsCollectionCmd
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutor
commandExecutor
protected MetricsRegistry
metricsRegistry
protected java.lang.String
reporterId
-
Constructor Summary
Constructors Constructor Description MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
collectMetrics()
java.lang.String
getReporter()
void
run()
void
setReporter(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)
-
-