public void purgeConnections() { synchronized (connectionPools) { for (ConnectionPool cp : connectionPools.values()) { cp.purgeConnections(); } } }