|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.scheduler.ThreadSchedulerConfiguration
public class ThreadSchedulerConfiguration
Collection of thread definitions.
| Constructor Summary | |
|---|---|
ThreadSchedulerConfiguration()
|
|
| Method Summary | |
|---|---|
void |
addDefinition(String className,
String delay,
String period,
String at,
StringAttributeMap parameters)
Adds a thread definition. |
boolean |
getActive()
Gets active flag value. |
int |
getCorePoolSize()
Gets core pool size. |
ScheduledExecutorService |
getService()
Creates service. |
List<ThreadDefinition> |
getThreadsDefinitions()
Gets threads definitions. |
void |
setActive(boolean active)
Sets active flag value. |
void |
setCorePoolSize(int corePoolSize)
Sets core pool size. |
void |
setThreadsDefinitions(List<ThreadDefinition> threadsDefinitions)
Sets threads definitions. |
String |
toString()
Creates string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadSchedulerConfiguration()
| Method Detail |
|---|
public boolean getActive()
public void setActive(boolean active)
active - active flag valuepublic int getCorePoolSize()
public void setCorePoolSize(int corePoolSize)
corePoolSize - core pool sizepublic List<ThreadDefinition> getThreadsDefinitions()
public void setThreadsDefinitions(List<ThreadDefinition> threadsDefinitions)
threadsDefinitions - threads definitions
public void addDefinition(String className,
String delay,
String period,
String at,
StringAttributeMap parameters)
className - the class to be scheduleddelay - to execution since registering thread in unitsperiod - frequency of execution in unitsat - time of execution in the format "HH:MM"parameters - map of additional optional parameterspublic ScheduledExecutorService getService()
null if service creation not allowedpublic String toString()
toString in class Object
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||