private void printInfo(ConnectionPool pool, Object key) { Log.DEBUG("*** Stats for ConnectionPool: " + key + " ***"); Log.DEBUG("Open Connections: " + pool.countOpenConnections()); Log.DEBUG("Existing Connections: " + pool.countExistingConnections()); }