|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the configuration interface used to create fixed delay tasks within the Scheduler Service. See java.util.Timer for a definition of fixed delay.
Copyright 2002 Sapient
Field Summary | |
static long |
InitialDelay
InitialDelay is the length of time in milliseconds before this task will execute for the first time. |
Method Summary | |
long |
getInitialDelay()
InitialDelay is the length of time in milliseconds before this task will execute for the first time. |
long |
getPeriod()
Period specifies how often the task will execute (in milliseconds) |
void |
setInitialDelay(long delay)
InitialDelay is the length of time in milliseconds before this task will execute for the first time. |
void |
setPeriod(long period)
Period specifies how often the task will execute (in milliseconds) |
Methods inherited from interface org.sape.carbon.services.scheduler.BaseTaskConfiguration |
getSchedulableComponent, getScheduledMethod, setSchedulableComponent, setScheduledMethod |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Field Detail |
public static final long InitialDelay
Method Detail |
public long getInitialDelay()
public void setInitialDelay(long delay)
delay
- value of the initial delaypublic long getPeriod()
public void setPeriod(long period)
period
- the period
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |