This chapter explains the tags related to scheduler in domain.xml.
XML schema file:
JEUS_HOME/lib/schemas/jeus/jeus-common.xsd
XML references are configured in the following format.
XML Schema/XML Tree: Summarizes all the tags of XML configuration file. Each node is defined in the following format.
Tag reference enables quick search for tags. Each tag is attached with index numbers ( ex: (11) ). Tags are explained with this number in tag reference.
The XML tag name defined in the XML schema is expressed in the format of <tag name>.
Tags are set with cardinality defined in XML schema.
“?” is for 0 or 1 element, “+” is for 1 or more elements, “*” is for 0 or more elements, (no symbol) is for exactly one element
Several tags have "P" character, meaning that they are the tags related to performance. These tags are used to tune the setting.
Element Reference: Explains XML tags in the tree.
Dynamic: Allowed to change the configuration dynamically.
Non-Dynamic: Not allowed to change the configuration dynamically. This is expressed only for the special case to comment out.
Description: A short description for tags.
Value Description: The value and type.
Value Type: Data type of the value. (ex: String)
Value Type Description: Description for the data type of the value.
Default Value: The value to be used by default when the XML is not used.
Defined Value: The default value.
Example: The XML tag example.
Performance Recommendation: The value recommended to improve performance.
Child Elements:The tags contained in its own tag element.
(780) <scheduler> ?
(781) <enabled> ?
(782) <pooling> ?
(783) <shared>
(784) <reserved-thread-num> ?
(785) <dedicated>
(786) <min> ?
(787) <max> ?
(788) <keep-alive-time> ?
(789) <queue-size> ?
(790) <stuck-thread-handling> ?
(791) <max-stuck-thread-time> ?
(792) <action-on-stuck-thread> ?
(793) <stuck-thread-check-period> ?
(794) <user-warning-class> ?
(795) <job-list> ?
(796) <job> *
(797) <name>
(798) <class-name>
(799) <interval>
(800) <millisecond>
(801) <minutely>
(802) <hourly>
(803) <daily>
(804) <description> ?
(805) <begin-time> ?
(806) <end-time> ?
(807) <count> ?
(780)
<
domain
><
servers
><
server
>
<scheduler>
| |
Description | Use this page to configure a JEUS scheduler. |
Value Type | schedulerType |
Child Elements |
(782)
(783)
(796)
|
[Example 2.1] Example File
<?xml version="1.0"?> <domain> <servers> <server> <!-- server Scheduler Service --> <scheduler> <enabled>true</enabled> <!-- Scheduler Thread-pool settings --> <pooling> <shared> <reserved-thread-num>5</reserved-thread-num> </shared> </pooling> <!-- Jobs to be executed after booting --> <job-list> <job> <class-name>sample.scheduler.ScheduleJob</class-name> <name>My Task</name> <description> This task runs in every 30 minutes </description> <begin-time>2005-02-01T09:00:00</begin-time> <end-time>2005-02-28T23:59:59</end-time> <interval> <minutely>30</minutely> </interval> <count>-1</count> </job> </job-list> </scheduler> </server> </servers> </domain>