| java.lang.Object winstone.RequestHandlerThread
RequestHandlerThread | public class RequestHandlerThread implements Runnable(Code) | | The threads to which incoming requests get allocated.
author: Rick Knowles version: $Id: RequestHandlerThread.java,v 1.21 2007/04/23 02:55:35 rickknowles Exp $ |
Constructor Summary | |
public | RequestHandlerThread(ObjectPool objectPool, int threadIndex, boolean simulateModUniqueId, boolean saveSessions) Constructor - this is called by the handler pool, and just sets up for
when a real request comes along. |
RequestHandlerThread | public RequestHandlerThread(ObjectPool objectPool, int threadIndex, boolean simulateModUniqueId, boolean saveSessions)(Code) | | Constructor - this is called by the handler pool, and just sets up for
when a real request comes along.
|
commenceRequestHandling | public void commenceRequestHandling(Socket socket, Listener listener)(Code) | | Assign a socket to the handler
|
destroy | public void destroy()(Code) | | Trigger the thread destruction for this handler
|
getRequestProcessTime | public long getRequestProcessTime()(Code) | | |
run | public void run()(Code) | | The main thread execution code.
|
setRequestStartTime | public void setRequestStartTime()(Code) | | |
|
|