Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RetryPolicy (0.07 sec)

  1. src/main/java/jcifs/smb/SmbOperationException.java

            public static final RetryPolicy AGGRESSIVE = new RetryPolicy(5, 500, 60000, 1.5, true);
            public static final RetryPolicy CONSERVATIVE = new RetryPolicy(2, 2000, 10000, 3.0, true);
            public static final RetryPolicy NO_RETRY = new RetryPolicy(1, 0, 0, 1.0, false);
    
            public RetryPolicy(int maxAttempts, long initialDelayMs, long maxDelayMs, double backoffMultiplier, boolean exponentialBackoff) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle retry policy correctly")
        void testRetryPolicy() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(3, 1000, 10000, 2.0, true);
    
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_TIMEOUT, "Timeout occurred", null, policy, null);
    
    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