larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/connection/ExchangeFinder.java
boolean hasRouteToTry() {
    synchronized (connectionPool) {
      if (nextRouteToTry != null) {
        return true;
      }
      if (retryCurrentRoute()) {
        // Lock in the route because retryCurrentRoute() is racy and we don't want to call it twice.
        nextRouteToTry = transmitter.connection.route();
        return true;
      }
      return (routeSelection != null && routeSelection.hasNext())
          || routeSelector.hasNext();
    }
  }
/** Returns true if a current route is still good or if there are routes we haven't tried yet. */
Returns true if a current route is still good or if there are routes we haven't tried yet.
Returns true if a current route is still good or if there are routes we haven ' t tried yet .
boolean hasRouteToTry() {
    synchronized (connectionPool) {
      if (nextRouteToTry != null) {
        return true;
      }
      if (retryCurrentRoute()) {
        nextRouteToTry = transmitter.connection.route();
        return true;
      }
      return (routeSelection != null && routeSelection.hasNext())
          || routeSelector.hasNext();
    }
  }
boolean hasRouteToTry ( ) { synchronized ( connectionPool ) { if ( nextRouteToTry != null ) { return true ; } if ( retryCurrentRoute ( ) ) { nextRouteToTry = transmitter . connection . route ( ) ; return true ; } return ( routeSelection != null && routeSelection . hasNext ( ) ) || routeSelector . hasNext ( ) ; } }
Returns true if a current route is still good or if there are routes we haven't tried yet.
Returns true if a current route is still good or if there are routes we haven ' t tried yet .
// Lock in the route because retryCurrentRoute() is racy and we don't want to call it twice.