|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mortbay.loadbalancer.NonBlockingQueue
Constructor Summary | |
NonBlockingQueue(int capacity)
Constructor. |
Method Summary | |
boolean |
isEmpty()
|
boolean |
isFull()
|
java.lang.Object |
next()
|
java.lang.Object |
peek()
|
boolean |
queue(java.lang.Object o)
|
int |
size()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NonBlockingQueue(int capacity)
capacity
- Method Detail |
public int size()
public boolean isFull()
public boolean isEmpty()
public boolean queue(java.lang.Object o)
public java.lang.Object peek()
public java.lang.Object next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |