Committed by
Gerrit Code Review
A new ScheduledExecutorService that captures and logs exception
The default ScheduledExecutorService does not provide the capability to capture and log the exception during executing scheduleAtFixedRate and scheduleWithFixedDelay methods. This makes it difficult to debug the program when the scheudled tasks are failed for some reasons. A new ScheduledExecutorService allows the developers to capture and log any exceptions if the tasks are failed during execution. Change-Id: I549ba0f479b9e302f0e668482873b3032dfea147
Showing
3 changed files
with
216 additions
and
4 deletions
-
Please register or login to post a comment