diff options
author | awnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2008-08-08 00:08:09 +0000 |
---|---|---|
committer | awnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2008-08-08 00:08:09 +0000 |
commit | 38ca14be486c38260ae8bbfb315896ccc5c9b8c7 (patch) | |
tree | b5d20686c04393de9b398fc70bb397ddbd97acf6 /pki/base/common/src/com/netscape/certsrv | |
parent | c3616a04d62b726724d59cfa92b056db82cc0d4d (diff) | |
download | pki-38ca14be486c38260ae8bbfb315896ccc5c9b8c7.tar.gz pki-38ca14be486c38260ae8bbfb315896ccc5c9b8c7.tar.xz pki-38ca14be486c38260ae8bbfb315896ccc5c9b8c7.zip |
Fix for bug #453834.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@82 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape/certsrv')
-rw-r--r-- | pki/base/common/src/com/netscape/certsrv/ldap/ILdapConnFactory.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pki/base/common/src/com/netscape/certsrv/ldap/ILdapConnFactory.java b/pki/base/common/src/com/netscape/certsrv/ldap/ILdapConnFactory.java index 453ebfb21..67f41c001 100644 --- a/pki/base/common/src/com/netscape/certsrv/ldap/ILdapConnFactory.java +++ b/pki/base/common/src/com/netscape/certsrv/ldap/ILdapConnFactory.java @@ -64,6 +64,12 @@ public interface ILdapConnFactory { */ public int totalConn(); + /** + * Returns the maximum number of connections available from this pool. + * @return Integer maximum number of connections. + */ + public int maxConn(); + /** * Request access to a Ldap connection from the pool. * @exception ELdapException if any error occurs, such as a |