Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InUse (0.01 sec)

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

                    && tc.getConfig().getDefaultPassword() != null;
        }
    
        boolean logoff(boolean inError, boolean inUse) {
            boolean wasInUse = false;
            try (SmbTransportImpl trans = getTransport()) {
                synchronized (trans) {
                    if (!this.connectionState.compareAndSet(2, 3)) { // not-connected
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
        @Override
        protected synchronized boolean doDisconnect(final boolean hard, final boolean inUse) throws IOException {
            final ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            boolean wasInUse = false;
            final long l = getUsageCount();
            if ((inUse ? l != 1 : l > 0)) {
                log.warn("Disconnecting transport while still in use " + this + ": " + this.sessions);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top