Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 136 for channels (0.89 sec)

  1. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            // Remove should not throw exception even if channel doesn't exist
            assertDoesNotThrow(() -> channelManager.removeChannel(channel));
        }
    
        @Test
        void testShutdown() {
            assertDoesNotThrow(() -> channelManager.shutdown());
    
            // Multiple shutdowns should be safe
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/LoadBalancingStrategy.java

    /**
     * Load balancing strategies for multi-channel connections
     */
    public enum LoadBalancingStrategy {
        /**
         * Round-robin selection through available channels
         */
        ROUND_ROBIN,
    
        /**
         * Select the least busy channel based on pending operations
         */
        LEAST_LOADED,
    
        /**
         * Weighted random selection based on channel scores
         */
        WEIGHTED_RANDOM,
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

            when(mockLoadBalancer.selectChannel(mockOperation)).thenThrow(new ChannelLoadBalancer.NoAvailableChannelException("No channels"));
    
            IOException error = new IOException("Connection failed");
    
            // Should not throw exception even if no alternative channels
            assertDoesNotThrow(() -> failover.handleFailure(failedChannel, error));
    
            assertEquals(0, failedChannel.getRequestsPending());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLDecoder;
    import java.net.URLStreamHandler;
    import java.nio.channels.Channels;
    import java.nio.charset.StandardCharsets;
    
    import org.codelibs.core.lang.StringUtil;
    
    import com.google.auth.oauth2.ServiceAccountCredentials;
    import com.google.cloud.NoCredentials;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

     */
    package org.codelibs.fess.crawler.client.gcs;
    
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.nio.channels.Channels;
    import java.util.Date;
    import java.util.HashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create channel synchronization mechanism
    - [ ] Implement channel failure detection
    - [ ] Add automatic channel recovery
    - [ ] Create channel performance monitoring
    
    #### 3.3 Integration Points
    - Modify `SmbTransportPool` for multiple connections per session
    - Update `SmbSession` for multi-channel awareness
    - Enhance `SmbTransport` for channel management
    
    ---
    
    ### Phase 4: Directory Leasing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
            PropertyConfiguration config = new PropertyConfiguration(new Properties());
    
            assertTrue(config.isUseMultiChannel(), "Multi-channel should be enabled by default");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcBind.java

    import jcifs.dcerpc.ndr.NdrBuffer;
    import jcifs.dcerpc.ndr.NdrException;
    
    /**
     * DCE/RPC bind request message implementation.
     * This class handles the binding process for establishing DCE/RPC communication channels.
     *
     * @author mbechler
     */
    public class DcerpcBind extends DcerpcMessage {
    
        private static final String[] result_message = { "0", "DCERPC_BIND_ERR_ABSTRACT_SYNTAX_NOT_SUPPORTED",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            } catch (Exception e) {
                log.warn("Failed to recover channel {}: {}", channel.getChannelId(), e.getMessage());
    
                // Schedule next retry or remove
                handleFailure(channel, e);
            }
        }
    
        private void removeChannel(ChannelInfo channel) {
            log.info("Removing failed channel {} after max retries", channel.getChannelId());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        // Multi-channel configuration fields
        /**
         * Whether to use SMB3 multi-channel support for improved performance and redundancy
         */
        protected boolean useMultiChannel;
        /**
         * Maximum number of SMB3 channels to establish per session
         */
        protected int maxChannels;
        /**
         * Channel binding policy: -1=not set, 0=disabled, 1=preferred, 2=required
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top