I want a single thread to maintain responsibility for completing multiple tasks at different intervals. I want to add and remove tasks from the scheduler. Are there any libraries that can help me with this. If not, I will code my own, I just don't want to reinvent the wheel.
For the background, I want to add an alert to my application, controlled from one thread, where the rest of the application can add / remove scheduled tasks. I can use multiple TimerTask or write my own single-threaded scheduler, but if there is a better option, I do not want to ignore it.
James
James source
share