I was wondering if there's a good way of doing this. I've got a List of Runnable objects but I can't let them run now because my server is shutting down. They must be stored on the disk so that next time when the server is up, the threads can run again.
I don't need to remember their status. All I want is to be able to rerun the threads. I got lost in terms of where to start. Any suggestions will be appreciated.