A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How i can ensure that a timer (java.util.Timer) is canceld ?
Joined: Jul 14, 2005
Oct 29, 2005 14:08:00
Thank you for reading my post
How i can ensure that a Timer is canceled ?
When i try to cancel my timer it raise an Exception and say that it is already canceled and i find no method to show me the Timer State
Joined: Sep 28, 2004
Oct 29, 2005 15:05:00
Are you sure? Both the Timer and
class allows you to call the cancel() method repeatedly. The subsequent calls are not supposed to have any affect.
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
I agree. Here's the link:
subject: How i can ensure that a timer (java.util.Timer) is canceld ?
Closing Timer on program end
How to avoid IllegalStateExceotion in Timer
How can i get my refund from prometric.com
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015