Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for incrementRetry (0.06 seconds)

  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));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (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);
            }
        }
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top