public class WallTimer extends Object
Constructor and Description |
---|
WallTimer(long wallTimeDuration,
TaskKiller taskKiller)
Create and start a WallTimer instance.
|
public WallTimer(long wallTimeDuration, TaskKiller taskKiller)
wallTimeDuration
- the maximum timeout period to wait for (in ms).taskKiller
- the task killer used to kill the task once the timeout is reached.