Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for ChannelInfo (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        @Override
        public boolean equals(Object obj) {
            if (this == obj)
                return true;
            if (obj == null || getClass() != obj.getClass())
                return false;
            ChannelInfo that = (ChannelInfo) obj;
            return channelId != null ? channelId.equals(that.channelId) : that.channelId == null;
        }
    
        @Override
        public int hashCode() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

            }
    
            public List<ChannelInfo> getChannels() {
                return new ArrayList<>(channels);
            }
    
            public void addChannel(ChannelInfo channel) {
                channels.add(channel);
                if (primaryChannel == null) {
                    primaryChannel = channel;
                }
            }
    
            public void removeChannel(ChannelInfo channel) {
                channels.remove(channel);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        @Mock
        private SmbTransport mockTransport2;
    
        @Mock
        private CommonServerMessageBlock mockMessage;
    
        private ChannelLoadBalancer loadBalancer;
        private ChannelInfo channel1;
        private ChannelInfo channel2;
    
        @BeforeEach
        void setUp() throws UnknownHostException {
            loadBalancer = new ChannelLoadBalancer(mockChannelManager);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            NetworkInterfaceInfo localInterface = new NetworkInterfaceInfo(addr, 1000);
            NetworkInterfaceInfo remoteInterface = new NetworkInterfaceInfo(addr, 1000);
            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        }
    
        private void scheduleRecovery(ChannelInfo channel, FailoverState state) {
            state.incrementRetry();
    
            // For test purposes, execute recovery immediately without delay
            // In production, this might use the delay from getNextRetryTime()
            executor.submit(() -> attemptRecovery(channel, state));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        }
    
        @Test
        void testPendingOperationRedistribution() throws Exception {
            // Setup pending operations
            failedChannel.addPendingOperation(mockOperation);
    
            ChannelInfo alternativeChannel = mock(ChannelInfo.class);
            when(mockLoadBalancer.selectChannel(mockOperation)).thenReturn(alternativeChannel);
    
            IOException error = new IOException("Connection failed");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.Smb2EncryptionContext;
    import jcifs.internal.smb2.Smb2SigningDigest;
    import jcifs.internal.smb2.lease.LeaseManager;
    import jcifs.internal.smb2.multichannel.ChannelInfo;
    import jcifs.internal.smb2.multichannel.ChannelManager;
    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    import jcifs.internal.smb2.persistent.PersistentHandleManager;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
Back to Top