Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for Fallback (1.28 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

            }
    
            // Runtime exceptions and other errors are likely not recoverable
            return false;
        }
    
        /**
         * Check if error suggests fallback to TCP is needed
         *
         * @param error the error to check
         * @return true if TCP fallback is recommended
         */
        public boolean shouldFallbackToTcp(Exception error) {
            // Hardware errors suggest RDMA is not working
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test fallback used when circuit is open")
        void testFallbackWhenOpen() throws Exception {
            // Open the circuit
            circuitBreaker.tripBreaker();
    
            String result = circuitBreaker.call(() -> "primary", () -> "fallback");
    
            assertEquals("fallback", result);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * potential NTLM fallback (if the server does not support kerberos).
         *
         * @param subject
         *            represents the user who perform Kerberos authentication. Should at least contain a TGT for the user.
         * @param domain
         *            domain for NTLM fallback
         * @param username
         *            user for NTLM fallback
         * @param password
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            // Test fallback logic
            assertTrue(errorHandler.shouldFallbackToTcp(hardwareError), "Hardware errors should suggest TCP fallback");
            assertFalse(errorHandler.shouldFallbackToTcp(timeoutError), "Timeout errors should not immediately suggest TCP fallback");
    
            // Test error classification using public API
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

         * Execute a callable through the circuit breaker with fallback
         *
         * @param <T> return type
         * @param callable the callable to execute
         * @param fallback fallback supplier if circuit is open
         * @return the result or fallback value
         * @throws Exception if execution fails and no fallback provided
         */
        public <T> T call(Callable<T> callable, Callable<T> fallback) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertTrue(ex.getMessage().contains("Cannot use netbios/short names"));
        }
    
        @Test
        @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws")
        void createContext_noKerberosNoFallback_throws() throws CIFSException {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                        () -> asHtml(path_AdminWizard_AdminWizardConfigJsp));
                return null;
            }
        }
    
        /**
         * Retrieves an integer value from system properties with a default fallback.
         *
         * @param key the property key to look up
         * @param defaultValue the default value if the property is not found or invalid
         * @return the integer value or default value
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. ADDING_NEW_LANGUAGE.md

    ## File Structure
    
    Language resource files are located in:
    ```
    src/main/resources/
    ├── fess_label.properties           # Base English labels (fallback)
    ├── fess_label_[locale].properties  # Language-specific labels (~1,056 lines)
    ├── fess_message.properties         # Base English messages (fallback)
    └── fess_message_[locale].properties # Language-specific messages (~200 lines)
    ```
    
    ### Naming Convention
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

    }
    ```
    
    #### 4.5.2 Fallback TCP Provider
    ```java
    package jcifs.internal.smb2.rdma.tcp;
    
    public class TcpRdmaProvider implements RdmaProvider {
        @Override
        public boolean isAvailable() {
            return true;  // TCP is always available
        }
        
        @Override
        public Set<RdmaCapability> getSupportedCapabilities() {
            // TCP fallback only supports send/receive
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertEquals("share/", b.getName());
    
            // host when no path/share
            SmbResourceLocatorImpl c = locator("smb://server/");
            assertEquals("server/", c.getName());
    
            // root fallback
            SmbResourceLocatorImpl d = locator("smb:///");
            assertEquals("smb://", d.getName());
        }
    
        @Test
        @DisplayName("Parent URL is computed correctly")
        void testGetParent() {
    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