|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread org.objectweb.cjdbc.controller.core.ControllerWorkerThread
The ControllerWorkerThread
handles a connection with a C-JDBC
driver. It reads a String containing the virtual database name from the
driver and sends back the corresponding ConnectionPoint
.
Field Summary | |
private boolean |
isKilled
|
(package private) static Trace |
logger
Logger instance. |
private ControllerServerThread |
serverThread
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ControllerWorkerThread(ControllerServerThread serverThread)
Creates a new ControllerWorkerThread instance. |
Method Summary | |
private void |
forkVirtualDatabaseWorkerThread(VirtualDatabase vdb,
java.lang.String debugmesg)
Fork a new worker thread. |
void |
run()
Gets a connection from the connection queue and process it. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ControllerServerThread serverThread
private boolean isKilled
static Trace logger
Constructor Detail |
public ControllerWorkerThread(ControllerServerThread serverThread)
ControllerWorkerThread
instance.
serverThread
- the ControllerServerThread
that created
us.Method Detail |
public void run()
private void forkVirtualDatabaseWorkerThread(VirtualDatabase vdb, java.lang.String debugmesg)
vdb
- VirtualDatabase to be serveddebugmesg
- debug message for the controller log
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |