[Pki-devel] [PATCH] 26 Refactored JobsScheduler.

Endi Sukma Dewata edewata at redhat.com
Mon Mar 12 14:43:40 UTC 2012


On 2/28/2012 5:32 PM, Endi Sukma Dewata wrote:
> The JobsScheduler has been modified to stop all jobs on shutdown.
> This is done by setting a flag in each job instead of stopping the
> job thread abruptly. Long running jobs should check this flag
> periodically and then exit gracefully. None of the existing jobs
> need to do this since they do not run very long.
>
> Other threads that run background services have been converted into
> daemons such that they will terminate automatically when the JVM
> exits.
>
> Ticket #73

ACKed by Ade. Pushed to master.

-- 
Endi S. Dewata




More information about the Pki-devel mailing list