Class DbMetricsReporter
java.lang.Object
org.camunda.bpm.engine.impl.metrics.reporter.DbMetricsReporter
- Author:
- Daniel Meyer
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected CommandExecutor
protected MetricsCollectionTask
protected MetricsRegistry
protected String
protected long
-
Constructor Summary
ConstructorDescriptionDbMetricsReporter
(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlong
protected void
void
void
reportValueAtOnce
(String name, long value) void
setMetricsCollectionTask
(MetricsCollectionTask metricsCollectionTask) void
setReporterId
(String reporterId) void
setReportingIntervalInSeconds
(long reportingIntervalInSeconds) void
start()
void
stop()
-
Field Details
-
metricsRegistry
-
commandExecutor
-
reporterId
-
reportingIntervalInSeconds
protected long reportingIntervalInSeconds -
metricsCollectionTask
-
-
Constructor Details
-
DbMetricsReporter
-
-
Method Details
-
initMetricsCollectionTask
protected void initMetricsCollectionTask() -
start
public void start() -
stop
public void stop() -
reportNow
public void reportNow() -
reportValueAtOnce
-
getReportingIntervalInSeconds
public long getReportingIntervalInSeconds() -
setReportingIntervalInSeconds
public void setReportingIntervalInSeconds(long reportingIntervalInSeconds) -
getMetricsRegistry
-
getCommandExecutor
-
getMetricsCollectionTask
-
setMetricsCollectionTask
-
setReporterId
-