Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for recovers (1.68 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

        }
    
        /**
         * Removes the first element.
         *
         * @return the first element
         */
        public E removeFirst() {
            if (isEmpty()) {
                throw new NoSuchElementException();
            }
            final E first = header.next.element;
            header.next.remove();
            return first;
        }
    
        /**
         * Removes the last element.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/QueryHelper.java

        }
    
        /**
         * Gets an array of rescorer builders for post-processing search results.
         * This method evaluates all configured query rescorers with the provided parameters.
         *
         * @param params parameters to pass to the rescorers during evaluation
         * @return an array of rescorer builders, filtered to exclude null values
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
            return ltrim(text, null);
        }
    
        /**
         * Removes the specified characters from the left side of the string.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

        @Test
        @DisplayName("Canonical and UNC paths are computed and stable")
        void testCanonicalAndUNCPaths() {
            SmbResourceLocatorImpl a = locator("smb://server/share/dir/.././file");
            // canonicalization removes . and resolves ..
            assertEquals("/share/file", a.getURLPath());
            assertEquals("\\file", a.getUNCPath());
            assertEquals("share", a.getShare());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top