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