- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ChannelState (0.04 sec)
-
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
* @return channel score */ public int getScore() { int score = 100; // Adjust based on state if (state == ChannelState.ACTIVE) score -= 20; // Busy channel penalty if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0; // Adjust based on error rate double errorRate = getErrorRate(); if (errorRate > 0.1)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// Calculate channel score for load balancing int score = 100; // Adjust based on state if (state == ChannelState.ACTIVE) score -= 20; // Busy channel if (state != ChannelState.ESTABLISHED && state != ChannelState.ACTIVE) return 0; // Adjust based on error rate double errorRate = getErrorRate(); if (errorRate > 0.1) score -= 50;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
// Reconnect channel.setState(ChannelState.CONNECTING); // Connection would be ensured through proper transport interface // Re-establish channel binding manager.performChannelBinding(channel); // Update channel with new transport channel.setTransport(newTransport); channel.setState(ChannelState.ESTABLISHED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java
// Establish connection channel.setState(ChannelState.CONNECTING); // Connection would be ensured through proper transport interface // Perform channel binding performChannelBinding(channel); // Add to active channels channels.put(channelId, channel); channel.setState(ChannelState.ESTABLISHED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 20K bytes - Viewed (0)