public synchronized void dispose(){
  if (isDisposed) {
    return;
  }
  isDisposed=true;
  ArrayList<PooledConnection> list=recycledConnections;
  for (int i=0, size=list.size(); i < size; i++) {
    closeConnection(list.get(i));
  }
}

public synchronized void dispose ( ) { if ( isDisposed ) { return ; } isDisposed = true ; ArrayList < PooledConnection > list = recycledConnections ; for ( int i = 0 , size = list . size ( ) ; i < size ; i ++ ) { closeConnection ( list . get ( i ) ) ; } }
closes all unused pooled connections . exceptions while closing are written to the log stream ( if set ) .
