|
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, you may also want to call its setFirstScheduleTime() method with the time of day (in milliseconds) at which the first occurrence of the schedule should begin.
TimeServicesDef
Constructor Summary | |
TimeRepeat()
Deprecated. Internal use only. |
|
TimeRepeat(int intervalMillis)
Deprecated. Deprecated in WebLogic Server 6.1 |
|
TimeRepeat(long intervalMillis)
Deprecated. Deprecated in WebLogic Server 6.1 |
Method Summary | |
long |
getFirstScheduleTime()
Deprecated. Deprecated in WebLogic Server 6.1 |
long |
lastTime()
Deprecated. Deprecated in WebLogic Server 6.1 |
long |
schedule(long currentTimeMillis)
Deprecated. Deprecated in WebLogic Server 6.1 |
void |
setFirstScheduleTime(long firstScheduleTimeInMillis)
Deprecated. Deprecated in WebLogic Server 6.1 |
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 repetitionpublic TimeRepeat(long intervalMillis)
intervalMillis
- Interval of repetitionMethod Detail |
public long lastTime()
public long schedule(long currentTimeMillis)
currentMillis
- currentTimepublic void setFirstScheduleTime(long firstScheduleTimeInMillis)
firstScheduleTimeInMillis
- the time of the day in milliseconds when the first trigger will runpublic long getFirstScheduleTime()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |