| 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Thread
org.quickserver.util.pool.thread.ClientThread
This is the worker thread used to handle clients using 
 ClientHandler
| Field Summary | |
protected  char | 
state
Holds the current Thread state.  | 
| Fields inherited from class java.lang.Thread | 
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY | 
| Constructor Summary | |
ClientThread(ClientPool pool)
 | 
|
ClientThread(ClientPool pool,
             int instanceCount)
 | 
|
| Method Summary | |
 void | 
clean()
 | 
 int | 
getInstanceId()
 | 
 java.lang.Runnable | 
getThread()
Returns the ClientHandler beeing 
 run by the ClientThread. | 
 boolean | 
isReady()
 | 
 void | 
run()
 | 
 java.lang.String | 
toString()
[ThreadInPool[  | 
| 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, yield | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected volatile char state
                U = Unknown
                S = Started
                R - Running a client
                I = Idle
                L = Looking for client
                P = Was sent back to pool
                W = Waiting in pool		
                N = Was notified, Looking for client
                D = Dead
                
| Constructor Detail | 
public ClientThread(ClientPool pool)
public ClientThread(ClientPool pool,
                    int instanceCount)
| Method Detail | 
public boolean isReady()
public void clean()
public int getInstanceId()
public void run()
public java.lang.Runnable getThread()
ClientHandler beeing 
 run by the ClientThread.
public java.lang.String toString()
  | 
QuickServer v1.4.7  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||