diff --git a/cadc-access-control-server/build.gradle b/cadc-access-control-server/build.gradle index 53822b1989eaa92eadd3e5cc561db47ee37d9782..db8bfc85c2672d752dbf41c9b86483ac7b375682 100644 --- a/cadc-access-control-server/build.gradle +++ b/cadc-access-control-server/build.gradle @@ -13,7 +13,7 @@ repositories { sourceCompatibility = 1.7 group = 'org.opencadc' -version = '1.1.3' +version = '1.1.4' dependencies { compile 'log4j:log4j:1.2.+' diff --git a/cadc-access-control-server/src/main/java/ca/nrc/cadc/ac/server/ldap/LdapConnectionPool.java b/cadc-access-control-server/src/main/java/ca/nrc/cadc/ac/server/ldap/LdapConnectionPool.java index 118bb1bebd2d3457969fa5ebb86e1178961c6feb..ee96e42a488f391f9b552946f891695d6cc128f2 100644 --- a/cadc-access-control-server/src/main/java/ca/nrc/cadc/ac/server/ldap/LdapConnectionPool.java +++ b/cadc-access-control-server/src/main/java/ca/nrc/cadc/ac/server/ldap/LdapConnectionPool.java @@ -210,6 +210,13 @@ public class LdapConnectionPool logger.debug(poolName + " pool statistics after release:\n" + pool.getConnectionPoolStatistics()); } } + + public String getPoolStatistics() + { + if (pool != null) + return poolName + " pool statistics: " + pool.getConnectionPoolStatistics(); + return null; + } public LdapConfig getCurrentConfig() {