Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 174 for retry (0.09 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

    /**
     * RDMA error handling and recovery logic.
     *
     * This class provides centralized error handling for RDMA operations,
     * including retry logic and fallback mechanisms.
     */
    public class RdmaErrorHandler {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaErrorHandler.class);
    
        // Retry and timing constants (in ms)
        private static final long MAX_RETRY_DELAY = 10000; // 10 seconds maximum delay
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		return err
    	}
    	if ri.Complete {
    		return nil
    	}
    	globalBatchJobsMetrics.save(job.ID, ri)
    
    	retryAttempts := job.Replicate.Flags.Retry.Attempts
    	if retryAttempts <= 0 {
    		retryAttempts = batchReplJobDefaultRetries
    	}
    	delay := job.Replicate.Flags.Retry.Delay
    	if delay <= 0 {
    		delay = batchReplJobDefaultRetryDelay
    	}
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        }
    
        /**
         * Get the maximum number of retry attempts
         * @return the maximum retries
         */
        public int getMaxRetries() {
            return maxRetries;
        }
    
        /**
         * Get the base retry delay
         * @return the retry delay in milliseconds
         */
        public long getRetryDelay() {
            return retryDelay;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 8.5K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                return failureTime;
            }
    
            /**
             * Get retry count
             *
             * @return number of retry attempts
             */
            public int getRetryCount() {
                return retryCount;
            }
    
            /**
             * Get next retry time
             *
             * @return time of next retry attempt
             */
            public long getNextRetryTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                }
    
                try (SmbTreeHandle th = connectWrapException(loc)) {
                    log.debug("Have new tree connection for retry");
                } catch (final SmbException e) {
                    log.debug("Failed to connect tree on retry", e);
                    last = e;
                }
            }
    
            if (last != null) {
                log.debug("All attempts have failed, last exception", last);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. cmd/os-reliable.go

    		if err = osMkdirAll(dirPath, mode, baseDir); err != nil {
    			// Retry only for the first retryable error.
    			if osIsNotExist(err) && i == 0 {
    				i++
    				// Determine if os.NotExist error is because of
    				// baseDir's parent being present, retry it once such
    				// that the MkdirAll is retried once for the parent
    				// of dirPath.
    				// Because it is worth a retry to skip a different
    				// baseDir which is slightly higher up the depth.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Apr 22 17:49:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(original.getMessage(), retry.getMessage());
            assertEquals(original.getCause(), retry.getCause());
            assertNotNull(retry.getContext());
        }
    
        @Test
        @DisplayName("Should format message correctly")
        void testMessageFormatting() {
            // With custom message
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. cmd/batch-rotate.go

    // - filter
    // - notify
    // - retry
    type BatchJobKeyRotateFlags struct {
    	Filter BatchKeyRotateFilter `yaml:"filter" json:"filter"`
    	Notify BatchJobNotification `yaml:"notify" json:"notify"`
    	Retry  BatchJobRetry        `yaml:"retry" json:"retry"`
    }
    
    // BatchJobKeyRotateV1 v1 of batch key rotation job
    type BatchJobKeyRotateV1 struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
     * Each step may fail. If a retry is possible, a new instance is created with the next plan, which
     * will be configured differently.
     */
    class ConnectPlan(
      private val taskRunner: TaskRunner,
      private val connectionPool: RealConnectionPool,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
          return FakePlan(nextPlanId++)
            .also {
              retry = it
            }
        }
    
        fun createConnectTcpNextPlan(): FakePlan {
          check(connectTcpNextPlan == null)
          return FakePlan(nextPlanId++)
            .also {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top