- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getRequestsPending (0.48 sec)
-
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) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
} @Test void testPendingOperations() { assertEquals(0, channelInfo.getRequestsPending()); assertTrue(channelInfo.getPendingOperations().isEmpty()); channelInfo.addPendingOperation(mockOperation); assertEquals(1, channelInfo.getRequestsPending()); assertFalse(channelInfo.getPendingOperations().isEmpty());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
failover.handleFailure(failedChannel, error); // Verify pending operations were cleared from failed channel assertEquals(0, failedChannel.getRequestsPending()); // Verify alternative channel was selected and operation added verify(mockLoadBalancer).selectChannel(mockOperation); verify(alternativeChannel).addPendingOperation(mockOperation);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
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)