|
How to gather information about Timers |
|
|
javax.ejb.Timer interface defines some methods for obtaining information about timers
getTimeRemaining method returns the number of milliseconds that will elapse before the next scheduled timer expiration.
- getNextTimeout returns the point in time at which the next timer expiration is scheduled to occur.
- getInfo returns the object that was the last parameter of the createTimer invocation.
- getHandle returns a serializable handle to the timer. This handle can be used at a later time to re-obtain the timer reference.
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.