A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
JBoss
Author
mbean
mark smith
Ranch Hand
Joined: Apr 05, 2005
Posts: 240
posted
Jan 14, 2008 14:51:00
0
hi
is there a way to add many timer for a mbean?
example in a mbean, i have many method
for my method add, i would like to call this method every 2 sec
for my method less,i would like to call this method every 6 sec
are there a way to do that?
thanks
Deepa Datar
Greenhorn
Joined: Jan 31, 2003
Posts: 4
posted
Jan 30, 2008 15:05:00
0
You can try the
Jboss
Scheduler MBean.
http://wiki.jboss.org/wiki/Wiki.jsp?page=Scheduler
You can configure this MBean to run periodically.
-Deepa Datar
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: mbean
Similar Threads
Urgent threading issue
Accessing Custom MBean
notification in JMx
Adding http headers
Graphics without paint() method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter