- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getRetryDelayMs (0.1 seconds)
-
src/main/java/jcifs/smb/SmbOperationException.java
} /** * Get the delay before next retry * * @param attemptNumber the current attempt number * @return delay in milliseconds */ public long getRetryDelayMs(int attemptNumber) { return retryPolicy.getDelayMs(attemptNumber); } /** * Add context information * * @param key the context key * @param value the context valueCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
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 @DisplayName("Should handle no retry policy") void testNoRetryPolicy() { // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0)