- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for recovers (0.16 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
} } } /** * Report and attempt to recover from a failure to communicate with a server. Returns true if * `e` is recoverable, or false if the failure is permanent. Requests with a body can only * be recovered if the body is buffered or if the failure occurred before the request has been * sent. */ private fun recover( e: IOException, call: RealCall, userRequest: Request,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Assert assertFalse(it.hasNext()); verify(tree, times(1)).release(); } @Test @DisplayName("doCloseInternal throwing still releases exactly once and next() recovers") void closeInternalThrowsButReleases() throws Exception { // Arrange stubAcquireReturnsSelf(); FileEntry initial = entry("first");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* exception} and/or execute other desired logic. * * <p>Note that the method will be called even upon an invocation of {@code tryLock()}. Although * {@code tryLock()} technically recovers from deadlock by eventually timing out, this behavior * is chosen based on the assumption that it is the application's wish to prohibit any cyclical * lock acquisitions. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Check if recovery is viable by testing if createTransport works // If createTransport returns null (no mock setup), remove immediately try { SmbTransport testTransport = manager.createTransport(failedChannel.getLocalInterface(), failedChannel.getRemoteInterface()); if (testTransport == null) { // No recovery possible, remove synchronously
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
log.warn("RDMA recovery attempt {} failed: {}", retryCount, recoveryError.getMessage()); // If this was the last attempt, log the full error if (retryCount >= maxRetries) { log.error("All RDMA recovery attempts failed", recoveryError); } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
} ``` ## 9. Error Handling and Fallback ### 9.1 RDMA Error Recovery ```java public class RdmaErrorHandler { public void handleRdmaError(RdmaConnection connection, Exception error) { log.warn("RDMA error occurred: {}", error.getMessage()); if (isRecoverableError(error)) { // Attempt to recover connection try { connection.reset();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
failoverStates.remove(channel.getChannelId()); log.info("Successfully recovered channel {}", channel.getChannelId()); } catch (Exception e) { log.warn("Failed to recover channel {}: {}", channel.getChannelId(), e.getMessage()); // Schedule next retry or remove
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
exception the callback is now notified that the call was canceled. The exception is still sent to the uncaught exception handler for reporting and recovery. * Fix: Un-deprecate `MockResponse.setHeaders()` and other setters. These were deprecated in OkHttp 4.0 but that broke method chaining for Java callers.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
URLs. (Previous releases would throw a `MalformedURLException` when calling a malformed URL.) * **We've improved connect failure recovery.** We now differentiate between setup, connecting, and connected and implement appropriate recovery rules for each. This changes `Address` to no longer use `ConnectionSpec`. (This is an incompatible API change).
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
PersistentHandleManager manager2 = new PersistentHandleManager(context); HandleInfo recovered = manager2.getHandleForReconnect("/test/file.txt"); assertNotNull(recovered); assertEquals(HandleType.PERSISTENT, recovered.type); assertArrayEquals(fileId, recovered.fileId); } } ``` ### 8.2 Integration Tests ```java @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0)