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

Endi Sukma Dewata edewata at redhat.com
Tue Feb 28 23:32:29 UTC 2012


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

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dogtag-edewata-0026-Refactored-JobsScheduler.patch
Type: text/x-patch
Size: 16485 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120228/9ecd92e9/attachment.bin>


More information about the Pki-devel mailing list