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
| 11 | * @author Joe Walker [joe at getahead dot ltd dot uk] |
| 12 | */ |
| 13 | public 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…