|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Configuration interface for the SchedulerService. The configuration consists of 2 attributes: an array of fixed rate tasks and an array of fixed delay tasks. Fixed rate tasks are defined by the configuration interface FixedRateTaskConfiguration. Fixed delay tasks are defined by the configuration interface FixedDelayTaskConfiguration.
FixedRateTaskConfiguration
,
Copyright 2002 Sapient
Field Summary |
Fields inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
ComponentTemplateName |
Method Summary | |
void |
addFixedDelayTask(FixedDelayTaskConfiguration task)
Adds a FixedDelayTaskConfiguration to this scheduler. |
void |
addFixedRateTask(FixedRateTaskConfiguration task)
Adds a FixedRateTask to this scheduler. |
FixedDelayTaskConfiguration[] |
getFixedDelayTask()
Gets the FixedDelayTaskConfiguration associated with this scheduler. |
FixedRateTaskConfiguration[] |
getFixedRateTask()
Gets the FixedRateTasks associated with this scheduler. |
ThreadPool |
getThreadPool()
|
void |
setFixedDelayTask(FixedDelayTaskConfiguration[] tasks)
Sets the FixedDelayTaskConfiguration associated with this scheduler. |
void |
setFixedRateTask(FixedRateTaskConfiguration[] tasks)
Sets the FixedRateTasks associated with this scheduler. |
void |
setThreadPool(ThreadPool threadPool)
|
Methods inherited from interface org.sape.carbon.core.component.ComponentConfiguration |
getComponentDescription, getComponentTemplateName, getFunctionalImplementationClass, getFunctionalInterface, setComponentDescription, setComponentTemplateName, setFunctionalImplementationClass, setFunctionalInterface |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Method Detail |
public FixedRateTaskConfiguration[] getFixedRateTask()
public void setFixedRateTask(FixedRateTaskConfiguration[] tasks)
tasks
- FixedRateTasks associated with this schedulerpublic void addFixedRateTask(FixedRateTaskConfiguration task)
task
- FixedRateTasks to associate with this schedulerpublic FixedDelayTaskConfiguration[] getFixedDelayTask()
public void setFixedDelayTask(FixedDelayTaskConfiguration[] tasks)
tasks
- FixedDelayTaskConfiguration associated with this
schedulerpublic void addFixedDelayTask(FixedDelayTaskConfiguration task)
task
- FixedDelayTaskConfiguration to associate with this schedulerpublic ThreadPool getThreadPool()
public void setThreadPool(ThreadPool threadPool)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |