Commit b6b4a0b9 authored by bmajor's avatar bmajor Committed by GitHub
Browse files

Merge pull request #24 from pdowler/master

added getPoolStatistics so test code can access stat summary
parents 472beb17 c48edc11
......@@ -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.+'
......
......@@ -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()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment