Home  >  Forum  >  Core Java
Post New Query

periodic task


joined on
August 29,2013
Asked on August 29,2013

For a single periodic task, is there any benefit to use ScheduledThreadPoolExecutor over just creating a single thread and starting it?

joined on
March 14,2013
Replied on August 30,2013

In my point of view, periodic task for a single thread does not need ScheduledThreadPoolExecutor, We can acjeive it simply by  Timer and TimerTask
joined on
October 06,2013
Replied on October 12,2013

Can u give me an example of Timer and Timer Task
joined on
March 14,2013
Replied on October 13,2013

Write Answer









Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us