code: final public int getConnectionCount() {
  		int total = 0;
  		synchronized(poolLock) {
  			for(PooledConnection<C> pooledConnection : allConnections) {
  				if(pooledConnection.connection!=null) total++;
  			}
  		}
  		return total;
  	}
docs: Gets the number of connections currently connected.