All Packages Class Hierarchy This Package Previous Next Index
Interface calypso.util.tasc.TimeoutTask
- public interface TimeoutTask
- extends Task
An interface for timeout tasks.
Timeout tasks are tasks that are executed as precisely as possible at a
certain timeout. Timeouts are represented in milliseconds (millis) since
midnight GMT on January 1, 1970 as the System.currentTimeMillis() method
does. Note that this implies that timeouts are given as absolute, not
relative (or delta) time.
- Author:
- Petteri Koponen
- See Also:
- TimeoutTaskScheduler, TimeoutTaskSHandle
-
getTimeout()
- Gets the timeout of the task.
-
setTimeout(long)
- Sets the timeout of the task.
setTimeout
public abstract void setTimeout(long timeout_)
- Sets the timeout of the task.
getTimeout
public abstract long getTimeout()
- Gets the timeout of the task.
All Packages Class Hierarchy This Package Previous Next Index