I want to run some threads simultaneously which executes a given runnable task at regular intervals. Each thread will have its own instance of Runnable task.
I found out java.util.concurrent.ScheduledThreadPoolExecutor which seems to fulfill my requirement.
Does there exist any Spring class which provides same functionality? and if yes, which one is better is to use.
Thanks
Jitendra
http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/scheduling/concurrent/ThreadPoolTaskScheduler.html is what I wanted. It is a wrapper around
java.util.concurrent.ScheduledThreadPoolExecutor.