|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sapia.ubik.rmi.server.command.ResponseQueue
public class ResponseQueue
This class implements a client-side response queue that internally keeps response locks.
| Method Summary | |
|---|---|
ResponseLock |
createResponseLock()
Creates a response lock and returns it (internally maps the response lock to an unique identifier which is also assigned to the lock. |
static ResponseQueue |
getInstance()
Returns this queue class' singleton. |
void |
onResponses(java.util.List responses)
This method is called to notify this queue about incoming responses. |
void |
shutdown(long timeout)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public ResponseLock createResponseLock()
ResponseLock.public void onResponses(java.util.List responses)
responses - a List of Response instances.
public void shutdown(long timeout)
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic int size()
public static final ResponseQueue getInstance()
ResponseQueue.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||