org.opennms.netmgt.vacuumd
Class Vacuumd
java.lang.Object
org.opennms.netmgt.daemon.AbstractServiceDaemon
org.opennms.netmgt.vacuumd.Vacuumd
- All Implemented Interfaces:
- Runnable, org.opennms.core.fiber.Fiber, org.opennms.core.fiber.PausableFiber, SpringServiceDaemon, EventListener, org.opennms.netmgt.model.ServiceDaemon, org.springframework.beans.factory.InitializingBean
public class Vacuumd
- extends AbstractServiceDaemon
- implements Runnable, EventListener
Implements a daemon whose job it is to run periodic updates against the
database for database maintenance work.
- Author:
- Mathew Brozowski, David Hustace, DJ Gregor
| Fields inherited from interface org.opennms.core.fiber.PausableFiber |
PAUSE_PENDING, PAUSED, RESUME_PENDING |
| Fields inherited from interface org.opennms.core.fiber.Fiber |
RUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED |
| Methods inherited from class org.opennms.netmgt.daemon.AbstractServiceDaemon |
afterPropertiesSet, debugf, debugf, errorf, errorf, fatalf, fatalf, getName, getStatus, getStatusText, infof, infof, init, isPaused, isRunning, isStarting, isStartPending, log, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatus, warnf, warnf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RELOAD_CONFIG_UEI
public static final String RELOAD_CONFIG_UEI
- See Also:
- Constant Field Values
Vacuumd
public Vacuumd()
getSingleton
public static Vacuumd getSingleton()
onInit
protected void onInit()
- Specified by:
onInit in class AbstractServiceDaemon
onStart
protected void onStart()
- Overrides:
onStart in class AbstractServiceDaemon
onStop
protected void onStop()
- Overrides:
onStop in class AbstractServiceDaemon
onPause
protected void onPause()
- Overrides:
onPause in class AbstractServiceDaemon
onResume
protected void onResume()
- Overrides:
onResume in class AbstractServiceDaemon
run
public void run()
- Specified by:
run in interface Runnable
executeStatements
protected void executeStatements()
getScheduler
public Scheduler getScheduler()
getEventManager
public EventIpcManager getEventManager()
setEventManager
public void setEventManager(EventIpcManager eventMgr)
onEvent
public void onEvent(org.opennms.netmgt.xml.event.Event event)
- Description copied from interface:
EventListener
- Process a sent event.
- Specified by:
onEvent in interface EventListener
Copyright ? 2008. All Rights Reserved.