|
OpenNMS API 1.1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.notifd.Notifd
This class is used to represent the notification execution service. When an event is received by this service that has one of either a notification, trouble ticket, or auto action then a process is launched to execute the appropriate commands.
Field Summary | |
private static java.lang.String |
LOG4J_CATEGORY
Logging categoyr for log4j |
private BroadcastEventProcessor |
m_eventReader
The broadcast event receiver. |
private java.util.Map |
m_noticeQueues
The map for holding different notice queues |
private java.util.Map |
m_queueHandlers
|
private static Notifd |
m_singleton
The signlton instance. |
private int |
m_status
The current status of this fiber |
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 |
Constructor Summary | |
private |
Notifd()
Constructs a new Notifd service daemon. |
Method Summary | |
static Notifd |
getInstance()
Returns the singular instance of the Notifd daemon. |
java.lang.String |
getName()
Returns the name of the service. |
int |
getStatus()
Returns the current status of the service. |
void |
init()
|
void |
pause()
Pauses the service if its currently running |
void |
resume()
Resumes the service if its currently paused |
void |
start()
Starts the Notifd service. |
void |
stop()
Stops the currently running service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static java.lang.String LOG4J_CATEGORY
private static final Notifd m_singleton
private java.util.Map m_noticeQueues
private java.util.Map m_queueHandlers
private BroadcastEventProcessor m_eventReader
private int m_status
Constructor Detail |
private Notifd()
Method Detail |
public void init()
public void start()
start
in interface Fiber
public void stop()
stop
in interface Fiber
public int getStatus()
getStatus
in interface Fiber
public java.lang.String getName()
getName
in interface Fiber
public void pause()
pause
in interface PausableFiber
public void resume()
resume
in interface PausableFiber
public static Notifd getInstance()
|
OpenNMS API 1.1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |