Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for InUse (0.19 sec)

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

                try {
                    inUse |= conn.disconnect(false, false);
                }
                catch ( IOException e ) {
                    log.warn("Failed to close connection", e);
                }
            }
            synchronized ( this.connections ) {
                cleanup();
            }
            return inUse;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

    
        /**
         * Disconnect the transport
         * 
         * @param hard
         * @param inUse
         *            whether the caller is holding a usage reference on the transport
         * @return whether conenction was in use
         * @throws IOException
         */
        public synchronized boolean disconnect ( boolean hard, boolean inUse ) throws IOException {
            IOException ioe = null;
    
            switch ( this.state ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 01 18:12:21 GMT 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

                    if ( st == 2 ) {
                        long l = this.usageCount.get();
                        if ( ( inUse && l != 1 ) || ( !inUse && l > 0 ) ) {
                            log.warn("Disconnected tree while still in use " + this);
                            dumpResource();
                            wasInUse = true;
                            if ( sess.getConfig().isTraceResourceUsage() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
Back to top