Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getNumSessions (0.08 sec)

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

            for ( SmbTransportImpl conn : this.connections ) {
                if ( conn.matches(address, port, localAddr, localPort, hostName)
                        && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) {
                    try {
                        if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) {
                            continue;
                        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

        @Override
        public String getRemoteHostName () {
            return this.tconHostName;
        }
    
    
        /**
         *
         * @return number of sessions on this transport
         */
        public int getNumSessions () {
            return this.sessions.size();
        }
    
    
        @Override
        public int getInflightRequests () {
            return this.response_map.size();
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top