periodic task




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?




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


Replied on October 12, 2013
Can u give me an example of Timer and Timer Task


Replied on October 13, 2013

Write Answer











©2024 concretepage.com | Privacy Policy | Contact Us