net.grinder.testutility
Class StubTimer
java.lang.Object
java.util.Timer
net.grinder.testutility.StubTimer
public final class StubTimer
- extends Timer
Stub implementation of Timer.
- Author:
- Philip Aston
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StubTimer
public StubTimer()
schedule
public void schedule(TimerTask timerTask,
long delay,
long period)
- Overrides:
schedule in class Timer
schedule
public void schedule(TimerTask timerTask,
long delay)
- Overrides:
schedule in class Timer
getLastScheduledTimerTask
public TimerTask getLastScheduledTimerTask()
getLastDelay
public long getLastDelay()
getLastPeriod
public long getLastPeriod()
getTaskByPeriod
public TimerTask getTaskByPeriod(long period)
Copyright © 2000-2012. All Rights Reserved.