Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top