@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface MetricsSource
MetricsSystem
, which periodically polls it to collect
MetricsRecord
and passes it to MetricsSink
.Modifier and Type | Method and Description |
---|---|
void |
getMetrics(MetricsCollector collector,
boolean all)
Get metrics from the metrics source
|
void getMetrics(MetricsCollector collector, boolean all)
collector
- to contain the resulting metrics snapshotall
- if true, return all metrics even if unchanged.Copyright © 2020 Apache Software Foundation. All rights reserved.