Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isUseMultiChannel (2.39 sec)

  1. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

            PropertyConfiguration config = new PropertyConfiguration(props);
            assertFalse(config.isUseMultiChannel());
    
            props.setProperty("jcifs.smb.client.useMultiChannel", "true");
            config = new PropertyConfiguration(props);
            assertTrue(config.isUseMultiChannel());
        }
    
        @Test
        void testMaxChannelsProperty() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            assertNotNull(channelManager);
            assertFalse(channelManager.isUseMultiChannel());
            assertEquals(0, channelManager.getChannels().size());
            assertNotNull(channelManager.getLoadBalancer());
        }
    
        @Test
        void testInitializationWithoutMultiChannelSupport() throws IOException {
            when(mockConfig.isUseMultiChannel()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getHandleReconnectRetries();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseMultiChannel()
         */
        @Override
        public boolean isUseMultiChannel() {
            return this.delegate.isUseMultiChannel();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxChannels()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbSessionImpl.java

            });
        }
    
        /**
         * Check if multi-channel is enabled
         *
         * @return true if multi-channel is enabled
         */
        public boolean isUseMultiChannel() {
            return channelManager != null && channelManager.isUseMultiChannel();
        }
    
        /**
         * Get the channel manager
         *
         * @return channel manager instance
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

            }
        }
    
        /**
         * Check if multi-channel is enabled
         *
         * @return true if enabled
         */
        public boolean isUseMultiChannel() {
            return multiChannelEnabled;
        }
    
        /**
         * Get the load balancer
         *
         * @return load balancer instance
         */
        public ChannelLoadBalancer getLoadBalancer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Test that ChannelManager initializes properly
            assertNotNull(channelManager);
            assertNotNull(channelManager.getChannels());
            // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server
            // In mock environment, this will be false until we mock successful negotiation
    
            // Verify load balancer is initialized
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. docs/smb3-features/03-multi-channel-design.md

    private boolean multiChannelSupported;
    
    public void negotiateMultiChannel() throws IOException {
        // Check if both client and server support multi-channel
        if (!context.getConfig().isUseMultiChannel()) {
            return;
        }
        
        if (!serverCapabilities.contains(SMB2_GLOBAL_CAP_MULTI_CHANNEL)) {
            log.debug("Server does not support multi-channel");
            return;
        }
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

        public String getHandleStateDirectory() {
            return this.handleStateDirectory;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseMultiChannel()
         */
        @Override
        public boolean isUseMultiChannel() {
            return this.useMultiChannel;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getMaxChannels()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         * Enable SMB3 Multi-Channel support
         *
         * Property {@code jcifs.smb.client.useMultiChannel} (boolean, default true)
         *
         * @return whether multi-channel is enabled
         */
        boolean isUseMultiChannel();
    
        /**
         * Maximum number of channels per session
         *
         * Property {@code jcifs.smb.client.maxChannels} (int, default 4)
         *
         * @return maximum channels per session
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top