org.jboss.seam.async
public class TimerSchedule extends Schedule
| Modifier and Type | Field and Description |
|---|---|
static TimerSchedule |
ONCE_IMMEDIATELY |
| Constructor and Description |
|---|
TimerSchedule(Date expiration) |
TimerSchedule(Date expiration,
Long intervalDuration) |
TimerSchedule(Long duration) |
TimerSchedule(Long duration,
Date expiration,
Long intervalDuration) |
TimerSchedule(Long duration,
Date expiration,
Long intervalDuration,
Date finalExpiration) |
TimerSchedule(Long duration,
Long intervalDuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Long |
getIntervalDuration() |
int |
hashCode() |
getDuration, getExpiration, getFinalExpirationpublic static final TimerSchedule ONCE_IMMEDIATELY
public TimerSchedule(Long duration)
duration - the delay before the event occurspublic TimerSchedule(Date expiration)
expiration - the datetime at which the event occurspublic TimerSchedule(Long duration, Long intervalDuration)
duration - the delay before the first event occursintervalDuration - the period between the eventspublic TimerSchedule(Date expiration, Long intervalDuration)
expiration - the datetime at which the first event occursintervalDuration - the period between the eventsCopyright © 2015 Seam Framework. All Rights Reserved.