Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected MetricsRegistry |
metricsRegistry |
protected String |
reporterId |
Constructor and Description |
---|
MetricsCollectionTask(MetricsRegistry metricsRegistry,
CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
collectMetrics() |
String |
getReporter() |
void |
run() |
void |
setReporter(String reporterId) |
cancel, scheduledExecutionTime
protected MetricsRegistry metricsRegistry
protected CommandExecutor commandExecutor
protected String reporterId
public MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
Copyright © 2020. All rights reserved.