Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for failover (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        /**
         * State tracking for channel failover
         */
        public static class FailoverState {
    
            private final String channelId;
            private final long failureTime;
            private int retryCount;
            private long nextRetryTime;
    
            /**
             * Create failover state
             *
             * @param channelId channel identifier
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        @Mock
        private SmbTransport mockNewTransport;
    
        @Mock
        private CommonServerMessageBlock mockOperation;
    
        private ChannelFailover failover;
        private ChannelInfo failedChannel;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            failover = new ChannelFailover(mockChannelManager);
    
            InetAddress addr = InetAddress.getByName("192.168.1.100");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. docs/smb3-features/03-multi-channel-design.md

    ## 1. Overview
    
    SMB3 Multi-Channel enables the use of multiple network connections between client and server, providing increased throughput, network fault tolerance, and automatic failover capabilities. This feature aggregates bandwidth across multiple NICs and provides seamless failover when network paths fail.
    
    ## 2. Protocol Specification Reference
    
    - **MS-SMB2 Section 3.2.4.23**: FSCTL_QUERY_NETWORK_INTERFACE_INFO
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/witness/WitnessEventType.java

     */
    public enum WitnessEventType {
        /**
         * Resource state changed - general resource state modification
         */
        RESOURCE_CHANGE(1),
    
        /**
         * Client should move to different node - directed failover
         */
        CLIENT_MOVE(2),
    
        /**
         * Share moved to different node - share mobility event
         */
        SHARE_MOVE(3),
    
        /**
         * IP address changed - network configuration change
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. docs/smb3-features/06-witness-protocol-design.md

        
        // Simulate cluster failover (would require test environment setup)
        // ... trigger server failover ...
        
        // Verify that witness notification was received and handled
        assertTrue(listener.waitForNotification(30000));  // 30 second timeout
        
        // Verify file is still accessible after failover
        assertTrue(file.exists());
    }
    
    @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 42K bytes
    - Click Count (0)
  6. docs/features/calls.md

    Calls are executed in one of two ways:
    
     * **Synchronous:** your thread blocks until the response is readable.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

    /**
     * SMB Witness Protocol client implementation as defined in MS-SWN specification.
     * Manages witness registrations, notifications, and heartbeats for cluster failover support.
     */
    public class WitnessClient implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(WitnessClient.class);
    
        // Polling and backoff constants (in ms)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean forceExtendedSecurity = false;
        /** Whether to negotiate only SMB2 or higher protocols */
        protected boolean smb2OnlyNegotiation = false;
        /** Whether to failover to port 139 if port 445 fails */
        protected boolean port139FailoverEnabled = false;
        /** Whether to use NT SMB operations */
        protected boolean useNTSmbs = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                    setSessionSetup(response);
    
                    // Initialize multi-channel after successful session setup
                    initializeMultiChannel();
    
                    // Initialize witness support for fast failover
                    initializeWitnessSupport();
    
                    if (ex != null) {
                        throw ex;
                    }
                    return (T) (response != null ? response.getNextResponse() : null);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            poolSpy.logon(ctx, address);
    
            // Then: Should connect to IPC$ share
            verify(tree).connectLogon(ctx);
        }
    
        @Test
        @DisplayName("Should sort addresses by fail count and failover")
        void testFailoverWithFailCounts() throws Exception {
            // Given: Multiple addresses with different fail counts
            Address addr1 = mock(Address.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top