Skip to content
Snippets Groups Projects
Commit c48edc11 authored by Patrick Dowler's avatar Patrick Dowler
Browse files

added getPoolStatistics so test code can access stat summary without resorting to debug logging

parent 472beb17
No related branches found
No related tags found
No related merge requests found
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment