protected void deleteLeastUsedEntry(){
  try {
    poolLock.lock();
    BasicPoolEntry entry=freeConnections.remove();
    if (entry != null) {
      deleteEntry(entry);
    }
 else     if (log.isDebugEnabled()) {
      log.debug("No free connection to delete.");
    }
  }
  finally {
    poolLock.unlock();
  }
}

protected void deleteLeastUsedEntry ( ) { try { poolLock . lock ( ) ; BasicPoolEntry entry = freeConnections . remove ( ) ; if ( entry != null ) { deleteEntry ( entry ) ; } else if ( log . isDebugEnabled ( ) ) { log . debug ( "No free connection to delete." ) ; } } finally { poolLock . unlock ( ) ; } }
delete an old , free pool entry to make room for a new one . used to replace pool entries with ones for a different route .
