if( false==recycle) { try{ System.out.println("Checking... Still not done..." + ConnectionListener.describeSetOfListeners(getNamespace(), deadConnections)); } catch (Exception ex) { ex.printStackTrace(); } } else {   try{ List copy = Collections.synchronizedList(new ArrayList(this.deadConnections)); synchronized( copy ) { Iterator it2 = copy.iterator(); while(it2.hasNext() ){ ConnectionListener cl = (ConnectionListener)it2.next(); URLConnexionProbe probe = cl.getConnexionProbe(); ConnexTimer timer = (ConnexTimer)connectionTimers.get(probe); if( timer != null ){  if( timer.proceed() == true ) cl.start();  } else { cl.start(); } } } } catch (Exception ex) { ex.printStackTrace(); } } return returnData;
List returnData = null; synchronized (dataPool) { returnData = new ArrayList(dataPool); dataPool.clear(); } return returnData;
    public List cycleAllAsynchronousConnections(boolean recycle)    {         List returnData = null;         synchronized( dataPool )         {            returnData = new ArrayList(dataPool);            //System.out.println("[ConnectionManager] dataPool size=" + dataPool.size() + ", " + returnData.size());            dataPool.clear();         }         // CASE DO NOT RECYCLE #########         if( false==recycle) {             try{                    System.out.println("Checking... Still not done..."                                    + ConnectionListener.describeSetOfListeners(getNamespace(), deadConnections));                } catch (Exception ex) {                    ex.printStackTrace();                }        } else {        // CASE RECYCLE ################                try{                    List copy = Collections.synchronizedList(new ArrayList(this.deadConnections));                    synchronized( copy )                    {                       Iterator it2 = copy.iterator();                       while(it2.hasNext() ){                            ConnectionListener cl = (ConnectionListener)it2.next();                            URLConnexionProbe probe = cl.getConnexionProbe();                            ConnexTimer timer = (ConnexTimer)connectionTimers.get(probe);                            if( timer != null ){                                // presume Polling query with timer                                if( timer.proceed() == true ) cl.start();                                // else, try later!                            } else {                                cl.start();                            }                       }                    }               } catch (Exception ex) {                       ex.printStackTrace();               }        }        return returnData;    }