Searched refs:routeDatabase (Results 1 – 3 of 3) sorted by relevance
59 private final RouteDatabase routeDatabase; field in RouteSelector82 HostResolver hostResolver, RouteDatabase routeDatabase) { in RouteSelector() argument88 this.routeDatabase = routeDatabase; in RouteSelector()132 if (routeDatabase.shouldPostpone(route)) { in next()156 routeDatabase.failed(failedRoute); in connectFailed()166 routeDatabase.failed(routeToSuppress); in connectFailed()
115 RouteDatabase routeDatabase = new RouteDatabase(); in singleRouteReturnsFailedRoute() local116 routeDatabase.failed(connection.getRoute()); in singleRouteReturnsFailedRoute()117 routeSelector = new RouteSelector(address, uri, proxySelector, pool, dns, routeDatabase); in singleRouteReturnsFailedRoute()300 RouteDatabase routeDatabase = new RouteDatabase(); in nonSslErrorAddsAllTlsModesToFailedRoute() local302 routeDatabase); in nonSslErrorAddsAllTlsModesToFailedRoute()307 assertTrue(routeDatabase.failedRoutesCount() == 2); in nonSslErrorAddsAllTlsModesToFailedRoute()314 RouteDatabase routeDatabase = new RouteDatabase(); in sslErrorAddsOnlyFailedTlsModeToFailedRoute() local316 routeDatabase); in sslErrorAddsOnlyFailedTlsModeToFailedRoute()321 assertTrue(routeDatabase.failedRoutesCount() == 1); in sslErrorAddsOnlyFailedTlsModeToFailedRoute()376 RouteDatabase routeDatabase = new RouteDatabase(); in failedRoutesAreLast() local[all …]
57 private final RouteDatabase routeDatabase; field in OkHttpClient75 routeDatabase = new RouteDatabase(); in OkHttpClient()292 return routeDatabase; in getRoutesDatabase()