[jboss-cvs] contrib/varia/src/etc ...

Dimitris Andreadis dimitris.andreadis at jboss.com
Thu Jul 13 15:53:25 EDT 2006


  User: dimitris
  Date: 06/07/13 15:53:25

  Modified:    varia/src/etc   schedule-manager-service.xml
                        scheduler-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
  1.11      +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.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- schedule-manager-service.xml	18 Apr 2006 17:16:19 -0000	1.10
  +++ schedule-manager-service.xml	13 Jul 2006 19:53:25 -0000	1.11
  @@ -1,5 +1,5 @@
   <?xml version="1.0" encoding="UTF-8"?>
  -<!-- $Id: schedule-manager-service.xml,v 1.10 2006/04/18 17:16:19 dimitris Exp $ -->
  +<!-- $Id: schedule-manager-service.xml,v 1.11 2006/07/13 19:53:25 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>
      <!- - -->
      
  
  
  
  1.7       +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.7
  diff -u -b -r1.6 -r1.7
  --- scheduler-service.xml	2 Sep 2004 05:37:26 -0000	1.6
  +++ scheduler-service.xml	13 Jul 2006 19:53:25 -0000	1.7
  @@ -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.7 2006/07/13 19:53:25 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>
   
     -->
  
  
  



More information about the jboss-cvs-commits mailing list