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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.+'
+7 −0
Original line number Diff line number Diff line
@@ -211,6 +211,13 @@ public class LdapConnectionPool
        }
    }
    
    public String getPoolStatistics()
    {
        if (pool != null)
            return poolName + " pool statistics: " + pool.getConnectionPoolStatistics();
        return null;
    }

    public LdapConfig getCurrentConfig()
    {
        return currentConfig;