Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for retry (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java

            this.client = client;
        }
    
        /**
         * Returns the maximum retry count.
         * @return The maximum retry count.
         */
        public int getMaxRetryCount() {
            return maxRetryCount;
        }
    
        /**
         * Sets the maximum retry count.
         * @param maxRetryCount The maximum retry count.
         */
        public void setMaxRetryCount(final int maxRetryCount) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbOperationException.java

        }
    
        /**
         * Check if retry should be attempted
         *
         * @param attemptNumber the current attempt number
         * @return true if retry should be attempted
         */
        public boolean shouldRetry(int attemptNumber) {
            return retryPolicy.shouldRetry(this, attemptNumber);
        }
    
        /**
         * Get the delay before next retry
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbException.java

        }
    
        /**
         * Checks if retry should be attempted
         *
         * @return true if retry is recommended
         */
        public boolean shouldRetry() {
            return severity == Severity.RECOVERABLE || severity == Severity.TRANSIENT;
        }
    
        /**
         * Gets recommended retry delay in milliseconds
         *
         * @return retry delay or 0 if no retry
         */
        public long getRetryDelay() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       * available routes.
       *
       * @param retry true if OkHttp will make another attempt
       */
      open fun retryDecision(
        call: Call,
        exception: IOException,
        retry: Boolean,
      ) {
      }
    
      /**
       * Invoked when OkHttp decides whether to perform a follow-up request.
       *
    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. cmd/batch-job-common-types.go

    	}
    
    	*b = BatchJobNotification(tmp)
    	b.line, b.col = val.Line, val.Column
    	return nil
    }
    
    // BatchJobRetry stores retry configuration used in the event of failures.
    type BatchJobRetry struct {
    	line, col int
    	Attempts  int           `yaml:"attempts" json:"attempts"` // number of retry attempts
    	Delay     time.Duration `yaml:"delay" json:"delay"`       // delay between each retries
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt

       */
      @JvmField val minimumConcurrentCalls: Int = 0,
      /** How long to wait to retry pre-emptive connection attempts that fail. */
      @JvmField val backoffDelayMillis: Long = 60 * 1000,
      /** How much jitter to introduce in connection retry backoff delays */
      @JvmField val backoffJitterMillis: Int = 100,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top