Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInUse (0.05 sec)

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

         */
        public final String getTargetHost () {
            return this.targetHost;
        }
    
    
        /**
         * @return whether the session is in use
         */
        @Override
        public boolean isInUse () {
            return this.usageCount.get() > 0;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbSession#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

                iter = this.sessions.listIterator();
                while ( iter.hasNext() ) {
                    SmbSessionImpl ssn = iter.next();
                    if ( ssn.getExpiration() != null && ssn.getExpiration() < now && !ssn.isInUse() ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Closing session after timeout " + ssn);
                        }
                        ssn.logoff(false, false);
                    }
    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