|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.myfoo.commonj.timers.FooTimer
de.myfoo.commonj.timers.FixedRateTimer
public final class FixedRateTimer
Fixed rate timer.
| Field Summary |
|---|
| Fields inherited from class de.myfoo.commonj.timers.FooTimer |
|---|
period, scheduledExcecutionTime, stopped |
| Constructor Summary | |
|---|---|
FixedRateTimer(long startTime,
long period,
commonj.timers.TimerListener listener)
Creates a new instance of FixedRateTimer. |
|
| Method Summary | |
|---|---|
protected void |
computeNextExecutionTime()
Compute the next execution time. |
| Methods inherited from class de.myfoo.commonj.timers.FooTimer |
|---|
cancel, execute, getPeriod, getScheduledExecutionTime, getTimerListener, isCancelled, isExpired, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FixedRateTimer(long startTime,
long period,
commonj.timers.TimerListener listener)
startTime - start timeperiod - execution periodlistener - the timer listener for this timer.| Method Detail |
|---|
protected void computeNextExecutionTime()
computeNextExecutionTime in class FooTimerFooTimer.computeNextExecutionTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||