public static class Operation.OperationMetrics extends Object implements MetricProvider
The provided metrics are active-operations, which contains the number of active operations and hanging-operations, which contains the number of operations that take longer than expected (and therefore might hang).
| Constructor and Description |
|---|
OperationMetrics() |
| Modifier and Type | Method and Description |
|---|---|
void |
gather(MetricsCollector collector)
Invoked roughly every minute to collect all available metrics.
|
public void gather(MetricsCollector collector)
MetricProvidergather in interface MetricProvidercollector - the interface used to provide metricsCopyright © 2018. All rights reserved.