- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for InUse (0.13 seconds)
-
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 -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
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 *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 27.8K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0) -
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); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Aug 22 03:48:56 GMT 2018 - 25K bytes - Click Count (0)