| |
|
| java.lang.Object org.apache.tomcat.util.net.MasterSlaveWorkerThread
MasterSlaveWorkerThread | class MasterSlaveWorkerThread implements Runnable(Code) | | Regular master slave thread pool. Slave threads will wait for work.
|
Method Summary | |
synchronized void | assign(Socket socket) Process an incoming TCP/IP connection on the specified socket. | public void | run() The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor. | public void | start() Start the background processing thread. | public void | stop() Stop the background processing thread. |
stopped | protected boolean stopped(Code) | | |
assign | synchronized void assign(Socket socket)(Code) | | Process an incoming TCP/IP connection on the specified socket. Any
exception that occurs during processing must be logged and swallowed.
NOTE: This method is called from our Connector's thread. We
must assign it to our own thread so that multiple simultaneous
requests can be handled.
Parameters: socket - TCP socket to process |
run | public void run()(Code) | | The background thread that listens for incoming TCP/IP connections and
hands them off to an appropriate processor.
|
start | public void start()(Code) | | Start the background processing thread.
|
stop | public void stop()(Code) | | Stop the background processing thread.
|
|
|
|