Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for incrementRetry (0.25 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            log.debug("Operation failed during redistribution: {}", error.getMessage());
        }
    
        private void scheduleRecovery(ChannelInfo channel, FailoverState state) {
            state.incrementRetry();
    
            // For test purposes, execute recovery immediately without delay
            // In production, this might use the delay from getNextRetryTime()
            executor.submit(() -> attemptRecovery(channel, state));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            }
            
            public boolean shouldRetry() {
                return retryCount < 3 && System.currentTimeMillis() >= nextRetryTime;
            }
            
            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: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top