Search in sources :

Example 1 with GMetricPublisher

use of info.ganglia.gmetric4j.gmetric.GMetricPublisher in project camel by apache.

the class GangliaEndpoint method getPublisher.

public synchronized Publisher getPublisher() {
    if (publisher == null) {
        GMetric gmetric = configuration.createGMetric();
        publisher = new GMetricPublisher(gmetric);
    }
    return publisher;
}
Also used : GMetric(info.ganglia.gmetric4j.gmetric.GMetric) GMetricPublisher(info.ganglia.gmetric4j.gmetric.GMetricPublisher)

Aggregations

GMetric (info.ganglia.gmetric4j.gmetric.GMetric)1 GMetricPublisher (info.ganglia.gmetric4j.gmetric.GMetricPublisher)1