When a periodic task is scheduled, e.g. with TimeScheduler.scheduleAtFixedRate()/scheduleWithFixedDelay() or scheduleWithDynamicInterval(), and the task throws an exception, then it will not be re-run again !
SOLUTION 1: we need to make sure that all of our tasks never throw an exception, e.g. by wrapping them into try-catch(Throwable) clauses
SOLUTION 2: with the new TimeScheduler (see [1]), we can wrap all tasks and catch all exceptions there
- relates to
-
JGRP-1051 TimeScheduler: replace use of ScheduledThreadPoolExecutor with ConcurrentSkipListMap
-
- Resolved
-