|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jms.messagemgr.TimedCondition
A timed Condition.
| Method Summary | |
static Condition |
after(long time)
Create a new TimedCondition that evaluates true
while the current time >= Now + time |
static Condition |
before(long time)
Create a new TimedCondition that evaluates true
while the current time < Now + time |
boolean |
get()
Evaluates the condition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean get()
get in interface Conditionpublic static Condition before(long time)
TimedCondition that evaluates true
while the current time < Now + timetime - the relative time, in millisecondstrue while the current
time < Now + timepublic static Condition after(long time)
TimedCondition that evaluates true
while the current time >= Now + timetime - the relative time, in millisecondstrue while the current
time >= Now + time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||