|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.util.net.AprEndpoint.WorkerStack
public class AprEndpoint.WorkerStack
Field Summary | |
---|---|
protected int |
end
|
protected AprEndpoint.Worker[] |
workers
|
Constructor Summary | |
---|---|
AprEndpoint.WorkerStack(int size)
|
Method Summary | |
---|---|
boolean |
isEmpty()
Is the queue empty? |
AprEndpoint.Worker |
peek()
Get the first object out of the queue, Return null if the queue is empty. |
AprEndpoint.Worker |
pop()
Get the first object out of the queue. |
void |
push(AprEndpoint.Worker worker)
Put the object into the queue. |
int |
size()
How many elements are there in this queue? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected AprEndpoint.Worker[] workers
protected int end
Constructor Detail |
---|
public AprEndpoint.WorkerStack(int size)
Method Detail |
---|
public void push(AprEndpoint.Worker worker)
object
- the object to be appended to the queue (first element).public AprEndpoint.Worker pop()
public AprEndpoint.Worker peek()
public boolean isEmpty()
public int size()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |