Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 715 for retries (0.69 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * both.
     *
     * Applications may configure OkHttp with an authenticator for origin servers, or proxy servers,
     * or both.
     *
     * ## Authentication Retries
     *
     * If your authentication may be flaky and requires retries you should apply some policy
     * to limit the retries by the class of errors and number of attempts.  To get the number of
     * attempts to the current point use this function.
     *
     * ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

        private final long retryDelayMs;
    
        /**
         * Create new RDMA error handler
         *
         * @param statistics statistics tracker
         * @param maxRetries maximum number of retries for recoverable errors
         * @param retryDelayMs delay between retries in milliseconds
         */
        public RdmaErrorHandler(RdmaStatistics statistics, int maxRetries, long retryDelayMs) {
            this.statistics = statistics;
            this.maxRetries = maxRetries;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

            final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
            final int maxRetries = this.ctx.getConfig().getMaxRequestRetries();
            for (int retries = 1; retries <= maxRetries; retries++) {
    
                if (rpath != null) {
                    rpath.setFullUNCPath(null, null, fullPath);
                }
    
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

      /**
       * Invoked when OkHttp decides whether to retry after a connectivity failure.
       *
       * OkHttp won't retry when it is configured not to:
       *
       *  * If retries are forbidden with [OkHttpClient.retryOnConnectionFailure]. (OkHttp's defaults
       *    permit retries.)
       *  * If OkHttp already attempted to transmit the request body, and [RequestBody.isOneShot] is
       *    true.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. .github/workflows/tests.yml

              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v4
          with:
            go-version: ${{ matrix.go }}
    
        - name: Check out code into the Go module directory
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. docs/features/events.md

    ![Events Diagram](../assets/images/******@****.***)
    
    ### Events with Retries and Follow-Ups
    
    OkHttp is resilient and can automatically recover from some connectivity failures. In this case, the `connectFailed()` event is not terminal and not followed by `callFailed()`. Event listeners will receive multiple events of the same type when retries are attempted.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/Striped64.java

       * resizing the table, as well as populating slots with new Cells.
       * There is no need for a blocking lock; when the lock is not
       * available, threads try other slots (or the base).  During these
       * retries, there is increased contention and reduced locality,
       * which is still better than alternatives.
       *
       * Per-thread hash codes are initialized to random values.
       * Contention and/or table collisions are indicated by failed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import okhttp3.Address
    import okhttp3.HttpUrl
    
    /**
     * Policy on choosing which connection to use for an exchange and any retries that follow. This uses
     * the following strategies:
     *
     *  1. If the current call already has a connection that can satisfy the request it is used. Using
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            // Should allow retries up to limit
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 1
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 2
            assertTrue(state.shouldRetry());
    
            state.incrementRetry(); // Retry 3
            assertFalse(state.shouldRetry()); // Max retries reached
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. docs/features/interceptors.md

    ### Choosing between application and network interceptors
    
    Each interceptor chain has relative merits.
    
    **Application interceptors**
    
     * Don't need to worry about intermediate responses like redirects and retries.
     * Are always invoked once, even if the HTTP response is served from the cache.
     * Observe the application's original intent. Unconcerned with OkHttp-injected headers like `If-None-Match`.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top