log.debug("internalRegisterPool: registering pool with interval " + interval + " old interval: " + this.interval);
if (log!=null) log.debug("internalRegisterPool: registering pool with interval " + interval + " old interval: " + this.interval);
   private void internalRegisterPool(ManagedConnectionPool mcp, long interval)   {      log.debug("internalRegisterPool: registering pool with interval " + interval + " old interval: " + this.interval);      synchronized (pools)      {         pools.add(mcp);         if (interval > 1 && interval/2 < this.interval)          {            this.interval = interval/2;            long maybeNext = System.currentTimeMillis() + this.interval;            if (next > maybeNext && maybeNext > 0)             {               log.debug("internalRegisterPool: about to notify thread: old next: " + next + ", new next: " + maybeNext);               next = maybeNext;               pools.notify();               //removerThread.interrupt();            } // end of if ()                     } // end of if ()               }   }