Package | Description |
---|---|
org.apache.tomcat.util.net |
Modifier and Type | Field and Description |
---|---|
protected JIoEndpoint.Worker[] |
JIoEndpoint.WorkerStack.workers |
Modifier and Type | Method and Description |
---|---|
protected JIoEndpoint.Worker |
JIoEndpoint.createWorkerThread()
Create (or allocate) and return an available processor for use in
processing a specific HTTP request, if possible.
|
protected JIoEndpoint.Worker |
JIoEndpoint.getWorkerThread()
Return a new worker thread, and block while to worker is available.
|
protected JIoEndpoint.Worker |
JIoEndpoint.newWorkerThread()
Create and return a new processor suitable for processing HTTP
requests and returning the corresponding responses.
|
JIoEndpoint.Worker |
JIoEndpoint.WorkerStack.peek()
Get the first object out of the queue, Return null if the queue
is empty.
|
JIoEndpoint.Worker |
JIoEndpoint.WorkerStack.pop()
Get the first object out of the queue.
|
Modifier and Type | Method and Description |
---|---|
void |
JIoEndpoint.WorkerStack.push(JIoEndpoint.Worker worker)
Put the object into the queue.
|
protected void |
JIoEndpoint.recycleWorkerThread(JIoEndpoint.Worker workerThread)
Recycle the specified Processor so that it can be used again.
|
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.