Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for channel (0.04 sec)

  1. docs/smb3-features/03-multi-channel-design.md

            
            // Establish connection
            channel.setState(ChannelState.CONNECTING);
            transport.connect();
            
            // 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: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            // Make channel2 have pending operations
            channel2.addPendingOperation(mockMessage);
    
            when(mockChannelManager.getHealthyChannels()).thenReturn(Arrays.asList(channel1, channel2));
    
            ChannelInfo selected = loadBalancer.selectChannel(queryInfo);
            // Should prefer less loaded channel for metadata operations
            assertEquals(channel1, selected);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/ChannelManager.java

         */
        public ChannelInfo getChannelForTransport(SmbTransport transport) {
            return channels.values().stream().filter(c -> c.getTransport() == transport).findFirst().orElse(null);
        }
    
        /**
         * Remove a channel
         *
         * @param channel channel to remove
         */
        public void removeChannel(ChannelInfo channel) {
            channels.remove(channel.getChannelId());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/MultiChannelManager.java

                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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            ChannelInfo channel = new ChannelInfo("test-channel", mockTransport, localNic, remoteNic);
            channel.setState(ChannelState.ESTABLISHED);
    
            // Verify channel properties
            assertEquals("test-channel", channel.getChannelId());
            assertEquals(mockTransport, channel.getTransport());
            assertEquals(localNic, channel.getLocalInterface());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

        private final AtomicLong errors;
    
        // Channel binding
        private byte[] bindingHash;
        private boolean isPrimary;
    
        // Pending operations
        private final List<CommonServerMessageBlock> pendingOperations;
    
        /**
         * Create channel information
         *
         * @param channelId unique channel identifier
         * @param transport SMB transport for this channel
         * @param localInterface local network interface
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

                long pending = channel.getRequestsPending();
                if (pending < minPending) {
                    minPending = pending;
                    leastLoadedChannel = channel;
                }
            }
            return leastLoadedChannel != null ? leastLoadedChannel : channels.iterator().next();
        }
    
        private ChannelInfo selectWeightedRandom(Collection<ChannelInfo> channels) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Create channel synchronization mechanism
    - [ ] Implement channel failure detection
    - [ ] Add automatic channel recovery
    - [ ] Create channel performance monitoring
    
    #### 3.3 Integration Points
    - Modify `SmbTransportPool` for multiple connections per session
    - Update `SmbSession` for multi-channel awareness
    - Enhance `SmbTransport` for channel management
    
    ---
    
    ### Phase 4: Directory Leasing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java

         */
        public static byte SMB2_READFLAG_READ_UNBUFFERED = 0x1;
        /**
         * Channel type for standard read without RDMA
         */
        public static int SMB2_CHANNEL_NONE = 0x0;
        /**
         * Channel type for RDMA version 1
         */
        public static int SMB2_CHANNEL_RDMA_V1 = 0x1;
        /**
         * Channel type for RDMA version 1 with invalidate
         */
        public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

            } catch (Exception e) {
                log.warn("Failed to recover channel {}: {}", channel.getChannelId(), e.getMessage());
    
                // Schedule next retry or remove
                handleFailure(channel, e);
            }
        }
    
        private void removeChannel(ChannelInfo channel) {
            log.info("Removing failed channel {} after max retries", channel.getChannelId());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top