public class OpenNMSEventHandlerThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
OpenNMSEventHandlerThread() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initialise the Thread.
|
void |
kill()
Stop execution of the thread.
|
void |
run()
Run method loops until kill() called.
|
void |
sendAlarmList()
If called, this method will request that the ossDao Alarm Cache is updated from the OpenNMS database
and sent to the QoSD for processing.
|
void |
setOssDao(OssDao _ossDao)
provides an interface to OpenNMS which provides a unified api
|
void |
updateNodeCache()
If called, this method will request that the ossDao Node Cache is updated from the OpenNMS database
and sent to the QoSD for processing.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public void setOssDao(OssDao _ossDao)
_ossDao
- the ossDao to setpublic void run() throws IllegalStateException
run
in interface Runnable
run
in class Thread
IllegalStateException
- if any.public void init()
public void kill()
public void sendAlarmList()
public void updateNodeCache()
Copyright © 2015. All Rights Reserved.