[Pki-devel] [PATCH] 29 Replaced daemon threads with executor service.

Endi Sukma Dewata edewata at redhat.com
Wed Mar 7 19:35:02 UTC 2012


The certificate status update and retrieving modifications tasks
have been modified to use the executor service. Unlike daemon
threads, the service will allow existing task to exit gracefully
before shutting down. An abandon operation is used terminate the
persistent search used for retrieving modifications. Some methods
have been moved to CertificateRepository class to simplify
synchronizations.

Ticket #73

This patch should be applied on top of #26 (or they can be squashed).
There are some other threads that can be converted to use executor
service as well, it will be done in separate patches.

-- 
Endi S. Dewata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dogtag-edewata-0029-Replaced-daemon-threads-with-executor-service.patch
Type: text/x-patch
Size: 23258 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20120307/72f2b111/attachment.bin>


More information about the Pki-devel mailing list