|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.scheduler.trigger.JobTrigger
com.silverpeas.scheduler.trigger.FixedPeriodJobTrigger
public final class FixedPeriodJobTrigger
A job trigger that fires repeatedly the execution of a job at a specified interval. The first job firing will be triggered at the specified interval of time after now.
| Constructor Summary | |
|---|---|
protected |
FixedPeriodJobTrigger(int time,
TimeUnit unit)
Creates a new job trigger that will fire a job execution at a specified interval. |
| Method Summary | |
|---|---|
void |
accept(JobTriggerVisitor visitor)
Accepts the specified visitor to visit it. |
int |
getTimeInterval()
Gets the interval in time between two job triggerings. |
long |
getTimeIntervalInMillis()
Gets the interval in milliseconds between two job triggerings. |
TimeUnit |
getTimeUnit()
Gets the unit of the interval of time between two job triggerings. |
| Methods inherited from class com.silverpeas.scheduler.trigger.JobTrigger |
|---|
getStartDate, startAt, triggerAt, triggerEvery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FixedPeriodJobTrigger(int time,
TimeUnit unit)
time - the interval in the time between each job triggering.unit - the unit in which the time is expressed.| Method Detail |
|---|
public int getTimeInterval()
public long getTimeIntervalInMillis()
public TimeUnit getTimeUnit()
public void accept(JobTriggerVisitor visitor)
JobTrigger
accept in class JobTriggervisitor - the visitor to accept.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||