public class WorkerThreadQueue extends WorkerThread
WorkerThread here.
Handler class for perform work
requested by the Pool.Thread.State, Thread.UncaughtExceptionHandlerpoolMgr, serviceinitMessage, serviceDataMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITYCATEGROY_ADAPTER, CATEGROY_APP, CATEGROY_DB_CON, CATEGROY_DB_POOL, CATEGROY_ENGINE, CATEGROY_MODULE, CATEGROY_POOL_MGR, CATEGROY_QUEUE, CATEGROY_THREAD_MGR, CATEGROY_WORKER, COMMAND_DEREGISTER_KEY, COMMAND_PAUSE, COMMAND_REGISTER_KEY, COMMAND_RESTART, COMMAND_SHUTDOWN, COMMAND_START, COMMAND_STOP, FLAG_FALSE, FLAG_TRUE, PARAM_JVM_STR, PARAM_JVMID_STR, PARAM_SERVERNAME_STR, PARAM_SERVICEACTIVE_STR, PARAM_SERVICECATAGORY_STR, PARAM_SERVICENAME_STR, PARAM_SERVICERUNNING_STR, TYPE_CLUSTER, TYPE_DISPLAY_STR, TYPE_EVENT, TYPE_JVM, TYPE_JVM_STR, TYPE_MAX, TYPE_SERVER, TYPE_SERVICE| Constructor and Description |
|---|
WorkerThreadQueue(PoolMgr aPoolMgr,
String anId,
ServicesIntf aService)
Creates a new WorkThreadThread
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefError() |
void |
run()
WorkerThread's thread routine
|
void |
shutdown()
This method is called to gracefully shutdown, stop the threads and
free resources.
|
getLastUse, getServiceIntf, init, isActiveaddInProcess, addTotalErrorNumber, addTotalMsgNumber, addTotalProcessed, deRegister, deRegister, doEventMessage, doMessage, getInProcess, getJvmId, getJvmService, getService, getServiceData, getServiceName, getStats, getTotalErrorNumber, getTotalMsgNumber, getTotalProcessed, initMessage, isRunning, register, register, resetTotals, setActive, setRunning, setServiceData, subtractInProcessactiveCount, 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, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic WorkerThreadQueue(PoolMgr aPoolMgr, String anId, ServicesIntf aService)
aPoolMgr - PoolMgr Poll Manager to manage the threads or nullanId - String Thread IDaService - Worker instance associated with the WorkerThreadpublic void run()
WorkerThreadrun in interface Runnablerun in class WorkerThreadpublic void shutdown()
WorkerThreadshutdown in class WorkerThreadpublic int getDefError()
getDefError in class WorkerThreadCopyright © 2020. All rights reserved.