|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.jms.util.RendezVous
| Field Summary | |
static Logger |
log
|
| Constructor Summary | |
RendezVous()
|
|
| Method Summary | |
java.lang.Object |
get(long timeout)
This method is used by the receiver thread, which registers with the redezvous and blocks until an object becomes available. |
boolean |
isOccupied()
|
boolean |
put(java.lang.Object o)
Method used by the sender thread, that only puts the object IF there is a receiver thread waiting. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Logger log
| Constructor Detail |
public RendezVous()
| Method Detail |
public java.lang.Object get(long timeout)
timeout - - the timeout value in milliseconds. A zero timeout never expires, and the
call blocks indefinitely.
public boolean put(java.lang.Object o)
public boolean isOccupied()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||