Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for failover (0.38 seconds)

  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. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create resource monitoring
    - [ ] Implement automatic re-registration
    - [ ] Add cluster node tracking
    - [ ] Create failover coordination
    
    #### 6.3 Integration Points
    - Integrate with `CIFSContext` for witness support
    - Modify `SmbTransport` for failover handling
    - Update `DfsResolver` for witness-aware resolution
    
    ---
    
    ## Implementation Dependencies
    
    ```mermaid
    graph TD
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            assertEquals(1024, channel.getBytesSent());
            assertTrue(channel.getLastActivityTime() > 0);
        }
    
        @Test
        void testChannelFailover() throws Exception {
            // Test failover mechanism
            ChannelFailover failover = new ChannelFailover(channelManager);
    
            // Create a channel
            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
    - 8.2K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

        private final List<NetworkInterfaceInfo> remoteInterfaces;
        private final ScheduledExecutorService scheduler;
        private final ChannelLoadBalancer loadBalancer;
        private final ChannelFailover failover;
    
        private volatile boolean multiChannelEnabled;
        private final int maxChannels;
        private final AtomicInteger channelCounter;
    
        /**
         * Create channel manager
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 20K bytes
    - Click Count (0)
  10. 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)
Back to Top