org.mortbay.loadbalancer
public class NonBlockingQueue extends Object
Constructor Summary | |
---|---|
NonBlockingQueue(int capacity) Constructor. |
Method Summary | |
---|---|
boolean | isEmpty() |
boolean | isFull() |
Object | next() |
Object | peek() |
boolean | queue(Object o) |
int | size() |
Parameters: capacity