Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-3282

ScheduleManager MBean uses fixed-rate execution on Java 1.4 and fixed-delay execution on Java 5.0

XMLWordPrintable

      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.

            dandread1@redhat.com Dimitrios Andreadis
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: