Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUsageCount (0.11 sec)

  1. src/main/java/jcifs/util/transport/Transport.java

                log.warn("Session was not properly released");
            }
        }
    
    
        /**
         * @return the number of known usages
         */
        protected long getUsageCount () {
            return this.usageCount.get();
        }
    
    
        protected abstract long makeKey ( Request request ) throws IOException;
    
    
        protected abstract Long peekKey () throws IOException;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

        protected synchronized boolean doDisconnect ( boolean hard, boolean inUse ) throws IOException {
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
            long l = getUsageCount();
            if ( ( inUse && l != 1 ) || ( !inUse && l > 0 ) ) {
                log.warn("Disconnecting transport while still in use " + this + ": " + this.sessions);
                wasInUse = true;
            }
    
    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