MCPcopy Create free account
hub / github.com/directwebremoting/dwr / Alarm

Interface Alarm

core/api/main/java/org/directwebremoting/extend/Alarm.java:13–20  ·  view source on GitHub ↗

An alarm is something that goes off at some point in the future. Alarms must be constructed with a Sleeper so they can act to tell the Sleeper to awake (or not to sleep) at any time until #cancel() is called. The alarm should not 'go off' after #cancel() has been called, howe

Source from the content-addressed store, hash-verified

11 * @author Joe Walker [joe at getahead dot ltd dot uk]
12 */
13public interface Alarm
14{
15 /**
16 * Prevent further calls to {@link Sleeper#wakeUp()}.
17 * See the note about late calls above.
18 */
19 void cancel();
20}

Callers 5

runMethod · 0.65
destroyMethod · 0.65
cancelMethod · 0.65
funcFunction · 0.65
dojo.jsFile · 0.65

Implementers 3

ShutdownAlarmcore/impl/main/java/org/directwebremot
TimedAlarmcore/impl/main/java/org/directwebremot
SessionProgressListenercore/api/main/java/org/directwebremoti

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…