- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setPrimary (0.04 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
channelInfo.setState(ChannelState.ESTABLISHED); channelInfo.setPrimary(true); int primaryScore = channelInfo.getScore(); assertTrue(primaryScore > baseScore); // High error rate should reduce score channelInfo.setState(ChannelState.ESTABLISHED); channelInfo.setPrimary(false); for (int i = 0; i < 20; i++) { channelInfo.incrementRequestsSent();
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/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
*/ public boolean isPrimary() { return isPrimary; } /** * Set primary channel flag * * @param primary true if primary */ public void setPrimary(boolean primary) { this.isPrimary = primary; } /** * Get number of bytes sent * * @return bytes sent */ public long getBytesSent() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0)