public interface JmxCollector
| Modifier and Type | Method and Description | 
|---|---|
void | 
collect(JmxCollectorConfig config,
       MBeanServer mBeanServer,
       JmxSampleProcessor sampleProcessor)
Implements the logic for the jmx data collection. 
 | 
void collect(JmxCollectorConfig config, MBeanServer mBeanServer, JmxSampleProcessor sampleProcessor) throws JmxServerConnectionException
JmxSampleProcessor about the collected data.
 
 The JmxSampleProcessor is a callback for each sample collected.
 Therefore each sample can be transformed to another data structure (e.g. collectd).config - The configuration to use for the collection.sampleProcessor - The callback to process each sample.JmxServerConnectionException - If the connection to the jmx server could not be established (whatever the reason).Copyright © 2020. All rights reserved.