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