Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/tier.go

    	d, err := newWarmBackend(ctx, tier, true)
    	if err != nil {
    		return err
    	}
    
    	if !ignoreInUse {
    		// Check if warmbackend is in use by other MinIO tenants
    		inUse, err := d.InUse(ctx)
    		if err != nil {
    			return err
    		}
    		if inUse {
    			return errTierBackendInUse
    		}
    	}
    
    	config.Tiers[tierName] = tier
    	config.drivercache[tierName] = d
    
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @ParameterizedTest
        @DisplayName("disconnect returns expected for flag combinations")
        @CsvSource({
                // hard, inuse, expected
                "true,true,false", "true,false,true", "false,true,true", "false,false,false" })
        void disconnect_flagCombinations(boolean hard, boolean inuse, boolean expected) throws Exception {
            when(transport.disconnect(anyBoolean(), anyBoolean())).thenAnswer(inv -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/transport/Transport.java

         * @param hard if true, force immediate disconnection without waiting for pending requests
         * @param inUse whether the transport is currently in use
         * @return true if the disconnection was successful
         * @throws IOException if an I/O error occurs
         */
        protected abstract boolean doDisconnect(boolean hard, boolean inUse) throws IOException;
    
        /**
         * Connect the transport
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            for (final SmbTransportImpl conn : toClose) {
                try {
                    inUse |= conn.disconnect(false, false);
                } catch (final IOException e) {
                    log.warn("Failed to close connection", e);
                }
            }
    
            // Final cleanup
            cleanup();
            return inUse;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use
    
            // When: Close the pool
            boolean inUse = pool.close();
    
            // Then: Should report in-use and call disconnect on all
            assertTrue(inUse, "Should report connections in use");
            verify(pooledSpy).disconnect(false, false);
            verify(nonPooledSpy).disconnect(false, false);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                } catch (final CIFSException e) {
                    throw new SmbException("Logon share connection failed", e);
                }
            }
        }
    
        boolean treeDisconnect(final boolean inError, final boolean inUse) {
            boolean wasInUse = false;
            try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) {
                synchronized (transport) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. api/go1.11.txt

    pkg database/sql, method (IsolationLevel) String() string
    pkg database/sql, type DBStats struct, Idle int
    pkg database/sql, type DBStats struct, InUse int
    pkg database/sql, type DBStats struct, MaxIdleClosed int64
    pkg database/sql, type DBStats struct, MaxLifetimeClosed int64
    pkg database/sql, type DBStats struct, MaxOpenConnections int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 22 03:48:56 UTC 2018
    - 25K bytes
    - Viewed (0)
Back to top