Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for recovers (0.07 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbException.java

         */
        public SmbException withContext(String key, Object value) {
            this.context.put(key, value);
            return this;
        }
    
        /**
         * Sets a recovery hint for the error
         *
         * @param hint the recovery hint
         * @return this exception for chaining
         */
        public SmbException withRecoveryHint(String hint) {
            this.recoveryHint = hint;
            return this;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. docs/en/docs/project-generation.md

        - 🦇 Dark mode support.
    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT token authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

          K key = keys[entry];
          removeEntryValueHashKnown(entry, valueHash);
          return key;
        }
      }
    
      /** Removes the entry at the specified index with no additional data. */
      void removeEntry(int entry) {
        removeEntryKeyHashKnown(entry, Hashing.smearedHash(keys[entry]));
      }
    
      /** Removes the entry at the specified index, given the hash of its key and value. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top