Is there any way to retrieve a TimerTask from an already running timer? I'm trying to simply update the timertask with information without killing when the next scheduled execute is suppose to take place.
There's no such thing as "the" TimerTask for a Timer. A Timer can have many TimerTasks.
Anyway, what's wrong with just keeping a reference to the TimerTask if you want to modify its state?
Joined: Mar 09, 2007
thanks for the suggestion!
Right now, there simply isn't a reference available. The timertask is created in a seperate code block and one that i don't really have access to, all I really have is the timer. I could request for a reference to be made available though...was just hoping there'd be a simple (non-intrusive way I guess ) way to do this.