public interface MetricListener
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close metric listener
|
void |
init(Map<String,Object> config)
Initialize MetricListener object
|
String |
name()
Allow to get name of MetricListener object
|
void |
updateMetric(String metricName,
Object metricValue)
Allow update metric and send it
|
void init(Map<String,Object> config)
config - Configuration for MetricListenervoid updateMetric(String metricName, Object metricValue)
metricName - The name of metricmetricValue - The value of metricvoid close()
String name()
Copyright © 2017–2018. All rights reserved.