|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricsReporter
A plugin interface to allow things to listen as new metrics are created so they can be reported.
Method Summary | |
---|---|
void |
close()
Called when the metrics repository is closed. |
void |
init(java.util.List<KafkaMetric> metrics)
This is called when the reporter is first registered to initially register all existing metrics |
void |
metricChange(KafkaMetric metric)
This is called whenever a metric is updated or added |
Methods inherited from interface org.apache.kafka.common.Configurable |
---|
configure |
Method Detail |
---|
void init(java.util.List<KafkaMetric> metrics)
metrics
- All currently existing metricsvoid metricChange(KafkaMetric metric)
metric
- void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |