Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Tracy (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Unit test for [FastFallbackExchangeFinder] implementation details.
     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_3x.md

     *  **OkHttpClient is now stateless.** In the 2.x API `OkHttpClient` had getters
        and setters. Internally each request was forced to make its own complete
        snapshot of the `OkHttpClient` instance to defend against racy configuration
        changes. In 3.x, `OkHttpClient` is now stateless and has a builder. Note
        that this class is not strictly immutable as it has stateful members like
        the connection pool and cache.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

          return true
        }
    
        if (failedConnection != null) {
          val retryRoute = retryRoute(failedConnection)
          if (retryRoute != null) {
            // Lock in the route because retryRoute() is racy and we don't want to call it twice.
            nextRouteToTry = retryRoute
            return true
          }
        }
    
        // If we have a routes left, use 'em.
        if (routeSelection?.hasNext() == true) return true
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top