Class MBeanMetricCollector
- java.lang.Object
-
- org.dashbuilder.dataprovider.kafka.metrics.MBeanMetricCollector
-
- All Implemented Interfaces:
KafkaMetricCollector
public class MBeanMetricCollector extends Object implements KafkaMetricCollector
Collects the mapped simple attributes of a MBean
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<KafkaMetric>collect(MBeanServerConnection mbsc)String[]getAttributes()StringgetName()static MBeanMetricCollectormetricCollector(String name)static MBeanMetricCollectormetricCollector(String name, String[] attributes)
-
-
-
Method Detail
-
metricCollector
public static MBeanMetricCollector metricCollector(String name)
-
metricCollector
public static MBeanMetricCollector metricCollector(String name, String[] attributes)
-
collect
public List<KafkaMetric> collect(MBeanServerConnection mbsc)
- Specified by:
collectin interfaceKafkaMetricCollector
-
getName
public String getName()
- Specified by:
getNamein interfaceKafkaMetricCollector
-
getAttributes
public String[] getAttributes()
-
-