|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tomcat.util.net.NioEndpoint.WorkerStack
public class NioEndpoint.WorkerStack
| Field Summary | |
|---|---|
protected int |
end
|
protected NioEndpoint.Worker[] |
workers
|
| Constructor Summary | |
|---|---|
NioEndpoint.WorkerStack(int size)
|
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
Is the queue empty? |
NioEndpoint.Worker |
peek()
Get the first object out of the queue, Return null if the queue is empty. |
NioEndpoint.Worker |
pop()
Get the first object out of the queue. |
void |
push(NioEndpoint.Worker worker)
Put the object into the queue. |
void |
resize(int newSize)
Resize 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 NioEndpoint.Worker[] workers
protected int end
| Constructor Detail |
|---|
public NioEndpoint.WorkerStack(int size)
| Method Detail |
|---|
public void push(NioEndpoint.Worker worker)
object - the object to be appended to the queue (first
element).public NioEndpoint.Worker pop()
public NioEndpoint.Worker peek()
public boolean isEmpty()
public int size()
public void resize(int newSize)
newSize -
|
Apache Tomcat 6.0.35 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||