public interface JmxCollector
void collect(JmxCollectorConfig config, JmxSampleProcessor sampleProcessor) throws JmxServerConnectionException
JmxSampleProcessorabout the collected data. The
JmxSampleProcessoris 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 © 2017. All rights reserved.