
com.wavefront.agent.WavefrontProxyService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy Show documentation
Show all versions of proxy Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent;
import org.apache.commons.daemon.Daemon;
import org.apache.commons.daemon.DaemonContext;
/** @author Mori Bellamy ([email protected]) */
public class WavefrontProxyService implements Daemon {
private PushAgent agent;
private DaemonContext daemonContext;
@Override
public void init(DaemonContext daemonContext) {
this.daemonContext = daemonContext;
agent = new PushAgent();
}
@Override
public void start() {
agent.start(daemonContext.getArguments());
}
@Override
public void stop() {
agent.shutdown();
}
@Override
public void destroy() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy