
com.wavefront.agent.PushAgentDaemon 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;
import org.apache.commons.daemon.DaemonInitException;
/**
* @author Mori Bellamy ([email protected])
*/
public class PushAgentDaemon implements Daemon {
private PushAgent agent;
private DaemonContext daemonContext;
@Override
public void init(DaemonContext daemonContext) throws DaemonInitException, Exception {
this.daemonContext = daemonContext;
agent = new PushAgent();
}
@Override
public void start() throws Exception {
agent.start(daemonContext.getArguments());
}
@Override
public void stop() throws Exception {
}
@Override
public void destroy() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy