Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getMaxAttempts (0.08 sec)

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

                log.debug("Transient SMB error: {} (attempt {}/{})", getMessage(), attemptNumber, retryPolicy.getMaxAttempts());
            } else if (isRetryable()) {
                log.warn("Retryable SMB error: {} in operation '{}' (attempt {}/{})", getMessage(), operationName, attemptNumber,
                        retryPolicy.getMaxAttempts());
            } else {
    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

        void testPredefinedRetryPolicies() {
            // DEFAULT policy
            SmbOperationException.RetryPolicy defaultPolicy = SmbOperationException.RetryPolicy.DEFAULT;
            assertEquals(3, defaultPolicy.getMaxAttempts());
            assertEquals(1000, defaultPolicy.getInitialDelayMs());
            assertEquals(30000, defaultPolicy.getMaxDelayMs());
            assertEquals(2.0, defaultPolicy.getBackoffMultiplier());
    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