org.jacorb.poa
public class RequestQueue extends Object implements Configurable
Version: $Id: RequestQueue.java,v 1.20 2006/07/19 15:26:39 alphonse.bendt Exp $
| Constructor Summary | |
|---|---|
| protected | RequestQueue(RequestController controller) |
| Method Summary | |
|---|---|
| protected void | add(ServerRequest request)
Adds a request to this queue. |
| protected void | addRequestQueueListener(RequestQueueListener listener) |
| void | configure(Configuration myConfiguration) |
| protected StringPair[] | deliverContent() |
| protected ServerRequest | getElementAndRemove(int rid) |
| protected ServerRequest | getFirst() |
| protected boolean | isEmpty() |
| protected ServerRequest | removeFirst() |
| protected ServerRequest | removeLast() |
| protected void | removeRequestQueueListener(RequestQueueListener listener) |
| protected int | size() |
jacorb.poa.queue_{min,max,wait} specify what happens
when the queue is full, i.e. when it already contains
queue_max requests. If queue_wait is
off, then this method does not add the request and throws a
ResourceLimitReachedException. If queue_wait
is on, then this method blocks until no more than
queue_min requests are in the queue; it then adds the
request, and returns.