Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for balancing (0.04 sec)

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

        }
    
        /**
         * Clear all pending operations
         */
        public void clearPendingOperations() {
            pendingOperations.clear();
        }
    
        /**
         * Calculate channel score for load balancing (higher is better)
         *
         * @return channel score
         */
        public int getScore() {
            int score = 100;
    
            // Adjust based on state
            if (state == ChannelState.ACTIVE)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

        // Statistics
        private final AtomicLong totalRequests = new AtomicLong(0);
        private final AtomicLong totalChannelsCreated = new AtomicLong(0);
    
        /**
         * Load balancing strategies for distributing operations across channels.
         */
        public enum LoadBalancingStrategy {
            /** Round-robin distribution */
            ROUND_ROBIN,
            /** Least connections */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         */
        int getChannelBindingPolicy();
    
        /**
         * Load balancing strategy for multi-channel
         *
         * Property {@code jcifs.smb.client.loadBalancingStrategy} (String, default "adaptive")
         * Values: "round_robin", "least_loaded", "weighted_random", "affinity_based", "adaptive"
         *
         * @return load balancing strategy
         */
        String getLoadBalancingStrategy();
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /**
         * Channel binding policy: -1=not set, 0=disabled, 1=preferred, 2=required
         */
        protected int channelBindingPolicy = -1; // -1=not set, 0=disabled, 1=preferred, 2=required
        /**
         * Load balancing strategy for distributing operations across channels
         */
        protected String loadBalancingStrategy;
        /**
         * Interval in milliseconds for checking channel health
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

            if (duration == 0) return 0;
            return (bytesSent.get() + bytesReceived.get()) * 1000 / duration;
        }
        
        public int getScore() {
            // Calculate channel score for load balancing
            int score = 100;
            
            // Adjust based on state
            if (state == ChannelState.ACTIVE) score -= 20;  // Busy channel
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top