|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ias.scheduler.Schedule oracle.ias.scheduler.RepeatingSchedule oracle.ias.scheduler.IntervalSchedule
Repeating interval schedule used to specify how often a timer expiration notification is sent to the associated trigger. The interval specifies the duration between the start of subsequent executions.
Field Summary | |
static long |
EVERY_DAY
constant used to specify an interval occurring every day |
static long |
EVERY_HOUR
constant used to specify an interval occurring every hour |
static long |
EVERY_WEEK
constant used to specify an interval occurring every week |
Fields inherited from class oracle.ias.scheduler.RepeatingSchedule |
m_endDate, m_fixedDelay |
Fields inherited from class oracle.ias.scheduler.Schedule |
m_expirationDate |
Constructor Summary | |
IntervalSchedule()
Construct a new Schedule with the default expiration and interval. |
Method Summary | |
boolean |
equals(java.lang.Object v)
Indicates whether some object is "equal to" this one. |
java.util.Calendar |
expected(java.util.Calendar date)
Gets the expected expiration date for this schedule for the date specified. |
long |
getInterval()
Gets the interval in milliseconds. |
static int |
getVersion()
Internal use only. |
int |
hashCode()
Returns a hash code value for the schedule. |
boolean |
isRepeating()
Used to identify a repeating schedule. |
java.util.Calendar |
next(java.util.Calendar date)
Gets the next expiration date for this schedule from the date specified. |
void |
readExternal(java.io.ObjectInput in)
Restores the contents of this object from the stream specified. |
void |
setInterval(long millis)
Sets the interval to the millisecond interval specified. |
java.lang.String |
toString()
Gets the string representation of this repeating schedule. |
void |
writeExternal(java.io.ObjectOutput out)
Saves the contents of this object to the stream specified. |
Methods inherited from class oracle.ias.scheduler.RepeatingSchedule |
getEndDate, isFixedDelay, setEndDate, setFixedDelay |
Methods inherited from class oracle.ias.scheduler.Schedule |
getExpiration, setExpiration, setExpiration |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final long EVERY_HOUR
public static final long EVERY_DAY
public static final long EVERY_WEEK
Constructor Detail |
public IntervalSchedule()
Method Detail |
public void setInterval(long millis) throws InvalidArgumentException
millis
- The interval in milliseconds between expiration.
InvalidArgumentException
- if the value specified is
less than or equal to zero.public long getInterval()
public boolean isRepeating()
isRepeating
in class Schedule
IntervalSchedule
,
oracle.ias.scheduler.CronIntervalSchedule
public java.util.Calendar next(java.util.Calendar date)
next
in class Schedule
date
- from which the next expiration is calculated
IntervalSchedule
,
RecurSchedule
public java.util.Calendar expected(java.util.Calendar date)
expected
in class Schedule
date
- from which the expected expiration is calculated
public java.lang.String toString()
toString
in class Schedule
Schedule.toString()
public int hashCode()
hashCode
in class Schedule
public boolean equals(java.lang.Object v)
equals
in class Schedule
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class Schedule
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class Schedule
java.io.IOException
java.lang.ClassNotFoundException
public static int getVersion()
|
Oracle Containers for J2EE Job Scheduler Java API Reference 10g Release 3 (10.1.3) B16026-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |