[jboss-jira] [JBoss JIRA] Assigned: (JBAS-3282) ScheduleManager MBean uses fixed-rate execution on Java 1.4 and fixed-delay execution on Java 5.0

Dimitris Andreadis (JIRA) jira-events at jboss.com
Thu Jul 13 15:52:20 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBAS-3282?page=all ]

Dimitris Andreadis reassigned JBAS-3282:
----------------------------------------

    Assignee: Dimitris Andreadis  (was: Darran Lofthouse)

> ScheduleManager MBean uses fixed-rate execution on Java 1.4 and fixed-delay execution on Java 5.0
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBAS-3282
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3282
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Scheduling/Timers
>    Affects Versions: JBossAS-4.0.4.GA
>            Reporter: Darran Lofthouse
>         Assigned To: Dimitris Andreadis
>            Priority: Critical
>             Fix For: JBossAS-4.0.5.CR1
>
>
> The ScheduleManager MBean uses fixed-rate execution on Java 1.4 and fixed-delay execution on Java 5.0
> The reason for this is because the ScheduleManager makes use of the javax.management.timer.Timer class, when running with Java 1.4 we use our implementation of the timer but when running with Java 5.0 we use the JRE implementation.
> To get fixed-rate execution (which has been our default till Java 5.0) the ScheduleManager should be using the method addNotification(String, String, Object, Date, long, long, boolean) with the final boolean set to true.
> We should possibly make the decision to use fixed-delay or fixed-rate configurable incase people are already expecting fixed-dalay with Java 5.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list