| 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, scheduledExecutionTimeprotected MetricsRegistry metricsRegistry
protected CommandExecutor commandExecutor
protected String reporterId
public MetricsCollectionTask(MetricsRegistry metricsRegistry, CommandExecutor commandExecutor)
Copyright © 2018. All rights reserved.