|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.impl.TimedAlarm
public class TimedAlarm
An Alarm that goes off after a certain length of time.
| Constructor Summary | |
|---|---|
TimedAlarm(Sleeper sleeper,
long waitTime,
java.util.concurrent.ScheduledThreadPoolExecutor executor)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Prevent further calls to Sleeper#wakeUp(). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimedAlarm(Sleeper sleeper,
long waitTime,
java.util.concurrent.ScheduledThreadPoolExecutor executor)
waitTime - How long we wait before the Alarm goes off| Method Detail |
|---|
public void cancel()
AlarmSleeper#wakeUp().
See the note about late calls above.
cancel in interface Alarm
|
Copyright ยจ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||