Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for failover (0.21 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. 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. 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)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/Configuration.java

         * @return whether to enforce the use of secure negotiation.
         */
        boolean isRequireSecureNegotiate();
    
        /**
         * Enable port 139 failover
         *
         * Property {@code jcifs.smb.client.port139.enabled} (boolean, default false)
         *
         * @return whether to failover to legacy transport on port 139
         */
        boolean isPort139FailoverEnabled();
    
        /**
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K 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/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)
  10. src/main/java/jcifs/smb/MultiChannelManager.java

            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
            LEAST_CONNECTIONS,
            /** Random selection */
            RANDOM,
            /** Failover only (use primary until failure) */
            FAILOVER_ONLY
        }
    
        /**
         * Represents a group of channels for a single session.
         */
        public static class ChannelGroup {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
Back to Top