Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getActiveConnections (0.51 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
                            .min((c1, c2) -> Integer.compare(c1.getActiveConnections(), c2.getActiveConnections()))
                            .orElse(channels.get(0));
    
                case RANDOM:
                    return channels.get((int) (Math.random() * channels.size()));
    
                case FAILOVER_ONLY:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                this.healthCheckingEnabled = healthCheckingEnabled;
                this.proactiveHealthCheckEnabled = proactiveHealthCheckEnabled;
            }
    
            // Getters
            public int getActiveConnections() {
                return activeConnections;
            }
    
            public int getNonPooledConnections() {
                return nonPooledConnections;
            }
    
            public int getTrackedConnections() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
Back to top