code: @Override
    public boolean canOpenWarmOrRecycle()
    {
      long now = CurrentTime.currentTime();
      
      if (isFailed(now)) {
        return false;
      }
      
      return getIdleCount() > 0 || canOpenWarm();
    }
docs: Returns true if the server can open a connection.