summaryrefslogtreecommitdiffstats
path: root/pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2012-03-06 20:06:44 -0600
committerEndi Sukma Dewata <edewata@redhat.com>2012-03-12 09:39:35 -0500
commitc0b210a15ef43873b52c1c9fbec73eba48155b4b (patch)
treed3db97853a7c00f3f255f726434e73009543ed69 /pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java
parent34f141c1144dac37248cf404835248413218627e (diff)
downloadpki-c0b210a15ef43873b52c1c9fbec73eba48155b4b.tar.gz
pki-c0b210a15ef43873b52c1c9fbec73eba48155b4b.tar.xz
pki-c0b210a15ef43873b52c1c9fbec73eba48155b4b.zip
Replaced daemon threads with executor service.
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
Diffstat (limited to 'pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java')
-rw-r--r--pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java b/pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java
index c00be1f45..09a2e1498 100644
--- a/pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java
+++ b/pki/base/common/test/com/netscape/cmscore/dbs/DBSSessionDefaultStub.java
@@ -64,6 +64,9 @@ public class DBSSessionDefaultStub implements IDBSSession {
return null;
}
+ public void abandon(LDAPSearchResults results) throws EBaseException {
+ }
+
public <T> IDBVirtualList<T> createVirtualList(String base, String filter, String attrs[], String sortKey, int pageSize)
throws EBaseException {
return null;