- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for Attempt (1.22 sec)
-
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
// When/Then - Should retry for attempts 1 and 2 assertTrue(exception.shouldRetry(1)); assertTrue(exception.shouldRetry(2)); assertFalse(exception.shouldRetry(3)); // Max attempts reached // Verify exponential backoff assertEquals(1000, exception.getRetryDelayMs(1));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbAuthException authEx = new SmbAuthException("denied"); when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth .thenReturn(handle); // second attempt succeeds // dest currently has READONLY attribute set int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
} /** * Gets the maximum number of duplicated paths to attempt. * * @return the maximum duplicated path count */ public int getMaxDuplicatedPath() { return maxDuplicatedPath; } /** * Sets the maximum number of duplicated paths to attempt. * * @param maxDuplicatedPath the maximum duplicated path count to set */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 11.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
assertEquals("Success", result); assertEquals(6, attemptCount.get()); // Initial attempt + 5 retries } /** * Test: Retry logic fails after exceeding maxRetryCount * Verifies that the operation fails after maxRetryCount attempts */ @Test public void testRetryLogicExceedsMaxRetryCount() { fesenClient.setMaxRetryCount(3);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmHttpURLConnection.java
} final NtlmMessage type1 = attemptNegotiation(response); if (type1 == null) { return; // no NTLM } int attempt = 0; while (attempt < MAX_REDIRECTS) { this.connection.setRequestProperty(this.authProperty, this.authMethod + ' ' + Base64.toBase64String(type1.toByteArray())); this.connection.connect(); // send type 1Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold"); // Test max attempts in half-open with failure scenario circuitBreaker.trip(); // Open again Thread.sleep(1100); // Wait for reset // First attempt transitions to HALF_OPEN try { circuitBreaker.executeWithCircuitBreaker(() -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
try { method.invoke(multiChannelManager, localhost, loopback); // If it doesn't throw, that's unexpected for localhost fail("Expected CIFSException for localhost multi-channel attempt"); } catch (java.lang.reflect.InvocationTargetException e) { // We expect this to fail, but it should be a CIFSException, not a NullPointerException assertTrue(e.getCause() instanceof CIFSException);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}); } /** * Handles user login with the provided credentials. * * @param form the login form containing username and password * @return the HTML response after login attempt */ @Execute public HtmlResponse login(final LoginForm form) { validate(form, messages -> {}, () -> asIndexPage(form)); verifyToken(() -> asIndexPage(form));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
* * @param creds the credentials to use * @return a child context using using the given credentials */ CIFSContext withCredentials(Credentials creds); /** * Attempt to renew credentials after authentication failure * * @param locationHint URL or location hint for credential renewal * @param error the error that triggered renewalRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java
logger.debug("Token expired: expiryTime={}, currentTime={}", tokenExpiryTime, currentTime); } return false; } // Attempt to refresh token using MSAL4J silent authentication try { final EntraIdAuthenticator authenticator = ComponentUtil.getComponent(EntraIdAuthenticator.class);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 7.8K bytes - Viewed (0)