users@glassfish.java.net

Re: Questions about JEE Timers

From: <forums_at_java.net>
Date: Sun, 28 Aug 2011 06:17:49 -0500 (CDT)

Well, thank you very much, I should have checked the docs more carefully,
this is what I found in the docs:
getTimers: Get all the *active* timers associated with this bean. My tests
yesterday gave me this result too.
cancel: NoSuchObjectLocalException - If invoked on a timer that has *expired*
or has been *cancelled*.
For the third part, I am cancelling the current and creating a new one. I
hope this is not a big overhead for the server.
Thanks and Regards


--
[Message sent by forum member 'MohamzJava']
View Post: http://forums.java.net/node/837509