Hi there,

     I'm having some problems with the JBoss Scheduler MBean. I need the 
scheduled job to be executed at a fixed rate, i.e., the time interval between 
consecutive perform() method invocations is constant.

The problem is that the next invocation occurs SchedulePeriod milliseconds 
after the end of the perform() method and not after the begin. So, I can't have 
a fixed rate, because the time that the perform() method takes to execute 
influences the next execution instance...

I'm using JBoss 4.0.3SP1 and Sun JVM 1.5.0_06. Can anyone help me? Is it 
possible to achieve what I need with the Scheduler MBean, or do I have to use 
the Timer MBean?

Thanks in advance,

Arménio Pinto

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952654#3952654

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952654

All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to