public class RequestQueue<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
_rcsid |
protected List<T> |
queue |
| Constructor and Description |
|---|
RequestQueue()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRequest(T dd)
Add a request to the queue.
|
T |
getRequest()
Pull the next request off the queue, but wait if there is
nothing there.
|
public static final String _rcsid
public void addRequest(T dd)
dd - is the request.public T getRequest() throws InterruptedException
InterruptedException