Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 331 for recover (0.17 sec)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

                return false;
            }
        }
    
        /**
         * Attempt to recover from a recoverable RDMA error
         *
         * @param connection RDMA connection to recover
         * @param error the original error
         * @return true if recovery succeeded, false otherwise
         */
        private boolean attemptRecovery(RdmaConnection connection, Exception error) {
            int retryCount = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. 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)
  4. docs/smb3-features/03-multi-channel-design.md

                    
                    // Clear failover state on success
                    failoverStates.remove(channel.getChannelId());
                    
                    log.info("Successfully recovered channel {}", channel.getChannelId());
                    
                } catch (Exception e) {
                    log.warn("Failed to recover channel {}: {}", 
                        channel.getChannelId(), e.getMessage());
                    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Decrypt and verify
            byte[] decrypted = ccmContext.decryptMessage(encrypted);
            assertArrayEquals(plaintext, decrypted, "CCM decryption should recover original plaintext");
        }
    
        @Test
        @DisplayName("Should integrate with SecureKeyManager")
        void testSecureKeyManagerIntegration() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/CrawlingParameterUtil.java

         * the URL queue for the current thread is removed.
         *
         * @param urlQueue the URL queue to be set for the current thread, or null to remove the URL queue
         */
        public static void setUrlQueue(final UrlQueue<?> urlQueue) {
            if (urlQueue == null) {
                URL_QUEUE_THREAD_LOCAL.remove();
            } else {
                URL_QUEUE_THREAD_LOCAL.set(urlQueue);
            }
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/SLinkedList.java

         */
        public boolean contains(final E element) {
            return indexOf(element) != -1;
        }
    
        /**
         * Removes an element from the list.
         *
         * @param element the element
         * @return true if the element was removed, false otherwise
         */
        public boolean remove(final E element) {
            if (element == null) {
                for (Entry e = header.next; e != header; e = e.next) {
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java

         */
        /**
         * Removes the specified rule from the rule manager.
         * @param rule The rule to be removed.
         * @return true if the rule was successfully removed, false otherwise.
         */
        @Override
        public boolean removeRule(final Rule rule) {
            return ruleList.remove(rule);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/LruHashSet.java

        }
    
        /**
         * Removes the specified element from this set if it is present.
         *
         * @param o
         *            object to be removed from this set, if present.
         * @return true if the set contained the specified element.
         */
        @Override
        public boolean remove(final Object o) {
            return map.remove(o) == PRESENT;
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            if (metrics != null) {
                metrics.recordFailure();
            }
        }
    
        /**
         * Record connection success for recovery tracking
         */
        private void recordConnectionSuccess(String key) {
            consecutiveFailures.remove(key);
            lastFailureTimes.remove(key);
    
            ConnectionMetrics metrics = connectionMetrics.get(key);
            if (metrics != null) {
                metrics.recordSuccess();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top