Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getRequestsPending (0.58 sec)

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

        }
    
        /**
         * Get number of pending operations
         *
         * @return number of pending operations
         */
        public long getRequestsPending() {
            return pendingOperations.size();
        }
    
        /**
         * Get pending operations list
         *
         * @return list of pending operations
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

            }
        }
        
        private ChannelInfo selectLeastLoaded(Collection<ChannelInfo> channels) {
            return channels.stream()
                .min(Comparator.comparingLong(ChannelInfo::getRequestsPending))
                .orElseThrow();
        }
        
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
            // Calculate total weight
            int totalWeight = channels.stream()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top