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
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;