[jboss-cvs] contrib/varia/src/etc ...
Dimitris Andreadis
dimitris.andreadis at jboss.com
Thu Jul 13 15:51:48 EDT 2006
User: dimitris
Date: 06/07/13 15:51:48
Modified: varia/src/etc Tag: Branch_4_0 scheduler-service.xml
schedule-manager-service.xml
Log:
JBAS-3282, add FixedRate attribute.
The default JMX Timer scheduling behaviour of FixedDelay execution
(as of JDK5 or JBoss v4.0.5) is overriden in the config using FixedRate true
Revision Changes Path
No revision
No revision
1.6.2.1 +3 -1 contrib/varia/src/etc/scheduler-service.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: scheduler-service.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/varia/src/etc/scheduler-service.xml,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -b -r1.6 -r1.6.2.1
--- scheduler-service.xml 2 Sep 2004 05:37:26 -0000 1.6
+++ scheduler-service.xml 13 Jul 2006 19:51:48 -0000 1.6.2.1
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE server>
-<!-- $Id: scheduler-service.xml,v 1.6 2004/09/02 05:37:26 telrod Exp $ -->
+<!-- $Id: scheduler-service.xml,v 1.6.2.1 2006/07/13 19:51:48 dimitris Exp $ -->
<server>
@@ -20,6 +20,7 @@
<attribute name="InitialStartDate">0</attribute>
<attribute name="SchedulePeriod">10000</attribute>
<attribute name="InitialRepetitions">-1</attribute>
+ <attribute name="FixedRate">true</attribute>
</mbean>
-->
@@ -45,6 +46,7 @@
<attribute name="InitialStartDate">NOW</attribute>
<attribute name="SchedulePeriod">10000</attribute>
<attribute name="InitialRepetitions">10</attribute>
+ <attribute name="FixedRate">true</attribute>
</mbean>
-->
1.7.6.4 +6 -2 contrib/varia/src/etc/schedule-manager-service.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: schedule-manager-service.xml
===================================================================
RCS file: /cvsroot/jboss/contrib/varia/src/etc/schedule-manager-service.xml,v
retrieving revision 1.7.6.3
retrieving revision 1.7.6.4
diff -u -b -r1.7.6.3 -r1.7.6.4
--- schedule-manager-service.xml 18 Apr 2006 17:06:36 -0000 1.7.6.3
+++ schedule-manager-service.xml 13 Jul 2006 19:51:48 -0000 1.7.6.4
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: schedule-manager-service.xml,v 1.7.6.3 2006/04/18 17:06:36 dimitris Exp $ -->
+<!-- $Id: schedule-manager-service.xml,v 1.7.6.4 2006/07/13 19:51:48 dimitris Exp $ -->
<server>
@@ -17,11 +17,15 @@
<!--
| The Schedule Manager has to be started whenever
- | schedules are needed
+ | schedules are needed.
+ |
+ | The default JMX Timer scheduling behaviour of FixedDelay execution
+ | (as of JDK5 or JBoss v4.0.5) is overriden below using FixedRate true
- ->
<mbean code="org.jboss.varia.scheduler.ScheduleManager"
name="jboss:service=ScheduleManager">
<attribute name="StartAtStartup">true</attribute>
+ <attribute name="FixedRate">true</attribute>
</mbean>
<!- - -->
More information about the jboss-cvs-commits
mailing list