public interface MetricsSink extends MetricsPlugin
限定符和类型 | 方法和说明 |
---|---|
void |
flush()
Flush any buffered metrics
|
void |
putMetrics(MetricsRecord record)
Put a metrics record in the sink
|
init
void putMetrics(MetricsRecord record)
record
- the record to putvoid flush()
Copyright © 2009 The Apache Software Foundation