|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.time.common.TimeRepeat
A utility class for scheduling a repeating trigger. This class implements Schedulable, and may be used as an argument to the constructor for a Scheduler object, which in turn becomes an argument for a call to the factory method, TimeServicesDef.getScheduledTrigger(). To use this class, set the interval of repetition in its constructor, and then call its schedule() method with the current time, or with the time of day (in milliseconds) at which the first occurrence of the schedule should begin.
TimeServicesDef
Constructor Summary | |
TimeRepeat()
Internal use only. |
|
TimeRepeat(int intervalMillis)
Constructs a TimeRepeat (a Schedulable object) that repeats regularly, for scheduling triggers. |
Method Summary | |
long |
lastTime()
Returns the last time this Schedulable's schedule() was called. |
long |
schedule(long currentMillis)
Sets the time of the first scheduled occurrence of a regularly repeating schedule. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TimeRepeat()
public TimeRepeat(int intervalMillis)
intervalMillis
- Interval of repetitionMethod Detail |
public long lastTime()
public long schedule(long currentMillis)
currentMillis
- Time of first scheduled occurrence
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |