Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for backoff (0.04 sec)

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

                    }
    
                    retryCount++;
    
                    // Exponential backoff with overflow protection
                    if (retryDelayMs > 0) {
                        try {
                            // Safe calculation: ensure retryCount is at least 1 for proper exponential backoff
                            int safeShift = Math.min(MAX_BACKOFF_SHIFT, Math.max(1, retryCount));
    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. src/main/java/jcifs/internal/witness/WitnessClient.java

     */
    public class WitnessClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
        private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds
        private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 seconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertTrue(exception.shouldRetry(1));
            assertTrue(exception.shouldRetry(2));
            assertFalse(exception.shouldRetry(3)); // Max attempts reached
    
            // Verify exponential backoff
            assertEquals(1000, exception.getRetryDelayMs(1));
            assertEquals(2000, exception.getRetryDelayMs(2));
            assertEquals(4000, exception.getRetryDelayMs(3));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

    /**
     * Handles directory change notifications for SMB3 directory leasing
     */
    public class DirectoryChangeNotifier {
    
        private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class);
    
        // Backoff and timing constants (in ms)
        private static final long BASE_POLL_INTERVAL = 1000;
        private static final long MAX_POLL_INTERVAL = 30000;
        private static final long BASE_RETRY_DELAY = 1000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/AuthenticationRateLimiter.java

    /**
     * Rate limiter for authentication attempts to prevent brute force attacks.
     *
     * Features:
     * - Per-account rate limiting
     * - Per-IP rate limiting
     * - Global rate limiting
     * - Exponential backoff for repeated failures
     * - Account lockout after threshold
     * - Automatic cleanup of old entries
     */
    public class AuthenticationRateLimiter implements AutoCloseable {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            }
    
            /**
             * Increment retry count and update next retry time
             */
            public void incrementRetry() {
                retryCount++;
                // Exponential backoff: 1s, 2s, 4s
                nextRetryTime = System.currentTimeMillis() + (1000L << retryCount);
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  7. docs/smb3-features/03-multi-channel-design.md

                return retryCount < 3 && System.currentTimeMillis() >= nextRetryTime;
            }
            
            public void incrementRetry() {
                retryCount++;
                // Exponential backoff: 1s, 2s, 4s
                nextRetryTime = System.currentTimeMillis() + (1000L << retryCount);
            }
        }
        
        public void handleFailure(ChannelInfo failedChannel, Exception error) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. docs/SMB3_IMPLEMENTATION_PLAN.md

    ## Next Steps
    
    1. **Immediate Actions**:
       - Set up Windows Server test environment
       - Create detailed technical specifications for Phase 1
       - Identify and evaluate Java RDMA libraries
    
    2. **Phase 1 Kickoff**:
       - Begin SMB3 lease implementation
       - Create comprehensive test suite
       - Document API changes
    
    3. **Community Engagement**:
       - Announce implementation plan
       - Solicit feedback from users
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top