wt.queue
Class StandardQueueMonitor
java.lang.Object
java.lang.Thread
wt.queue.StandardQueueMonitor
- All Implemented Interfaces:
- QueueMonitor, Runnable
- public class StandardQueueMonitor
- extends Thread
- implements QueueMonitor
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
QUEUE_MONITOR_HOST
private static String QUEUE_MONITOR_HOST
VERBOSE
private static boolean VERBOSE
SLEEP_TIME
private static int SLEEP_TIME
SHOW_QUEUES
private static boolean SHOW_QUEUES
RUNNER_RESTART
private static boolean RUNNER_RESTART
RUNNER_CHECK
private static boolean RUNNER_CHECK
CODE
private static final String CODE
- See Also:
- Constant Field Values
CODEC5
private static final String CODEC5
- See Also:
- Constant Field Values
processQueues
private Hashtable processQueues
scheduleQueues
private Hashtable scheduleQueues
queueMonitorHelper
private QueueMonitorHelper queueMonitorHelper
checkerThread
StandardQueueMonitor.CheckerThread checkerThread
properties
private static WTProperties properties
StandardQueueMonitor
public StandardQueueMonitor()
throws WTException
run
public void run()
- Specified by:
run
in interface Runnable
resetExecEntries
private void resetExecEntries(String table_name,
Class queue_type)
throws WTException
- Throws:
WTException
initQueue
private void initQueue(Class queue_type,
Hashtable queues)
throws WTException
- Throws:
WTException
checkQueueProperties
private void checkQueueProperties(String queueName,
WtQueue queue)
throws WTException
- Throws:
WTException
checkQueues
private void checkQueues(Hashtable queues,
Class queue_type)
newQueues
private Hashtable newQueues(Enumeration qz,
Hashtable queues)
throws WTException
- Throws:
WTException
queueHealthCheck
public void queueHealthCheck(WtQueue aq,
QueueWatcher qw)
deletedQueues
private void deletedQueues(Hashtable activeQueues,
Hashtable queues)
getQueues
private Enumeration getQueues(Class queue_type)
throws WTException
- Throws:
WTException
getQueue
private ProcessingQueue getQueue(String name)
throws WTException
- Throws:
WTException
showQueueProperties
private void showQueueProperties()
showQueues
public void showQueues(Hashtable queues)
setQueueState
private void setQueueState(WtQueue q,
String state)
throws WTException
- Throws:
WTException
startQueueProcessing
public void startQueueProcessing()
throws WTException
- Throws:
WTException
startRunner
private void startRunner(Enumeration e)
throws WTException
- Throws:
WTException