- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for disconnected (0.06 sec)
-
src/main/java/jcifs/util/transport/Transport.java
} } /** * Disconnect the transport * * @param hard if true, disconnect immediately without waiting for outstanding requests * @return whether connection was in use * @throws IOException if an I/O error occurs during disconnection */ public synchronized boolean disconnect(final boolean hard) throws IOException { return disconnect(hard, true); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
if ((inUse ? l != 1 : l > 0)) { log.warn("Disconnected tree while still in use " + this); dumpResource(); wasInUse = true; if (sess.getConfig().isTraceResourceUsage()) { throw new RuntimeCIFSException("Disconnected tree while still in use"); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(ChannelState.DISCONNECTED, channelInfo.getState()); assertFalse(channelInfo.isPrimary()); assertEquals(0, channelInfo.getBytesSent()); assertEquals(0, channelInfo.getBytesReceived()); } @Test void testStateTransitions() { assertEquals(ChannelState.DISCONNECTED, channelInfo.getState()); assertFalse(channelInfo.isHealthy());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
try (SmbSessionImpl session = getSession()) { if (isConnected()) { try (SmbTransportImpl transport = session.getTransport()) { if (transport.isDisconnected() || transport.getRemoteHostName() == null) { /* * Tree/session thinks it is connected but transport disconnected * under it, reset tree to reflect the truth.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
when(mockTransport.isDisconnected()).thenReturn(true); when(mockTransport.toString()).thenReturn("MockTransport"); try (RdmaTransport transport = new RdmaTransport(mockTransport, testContext)) { assertNotNull(transport, "Transport should not be null"); assertTrue(transport.isDisconnected(), "Transport should be disconnected initially");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
nonPooledConnections.offer(nonPooledSpy); // Mock disconnect behavior when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use 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");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java
public abstract class RdmaConnection implements AutoCloseable { /** * RDMA connection state enumeration */ public enum RdmaConnectionState { /** Connection is not established */ DISCONNECTED, /** Connection is being established */ CONNECTING, /** Connection is established but not ready for RDMA operations */ CONNECTED,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 8.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java
*/ package jcifs.internal.smb2.multichannel; /** * SMB3 Multi-Channel connection states */ public enum ChannelState { /** * Channel is not connected */ DISCONNECTED(0), /** * Connection establishment in progress */ CONNECTING(1), /** * Authentication in progress */ AUTHENTICATING(2), /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
this.channelId = channelId; this.transport = transport; this.localInterface = localInterface; this.remoteInterface = remoteInterface; this.state = ChannelState.DISCONNECTED; this.establishedTime = System.currentTimeMillis(); this.lastActivityTime = establishedTime; this.bytesSent = new AtomicLong(); this.bytesReceived = new AtomicLong();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
cmd/perf-tests.go
// the last peer to connect and the first peer to disconnect. // This is to improve the RX throughput accuracy. type netPerfRX struct { RX uint64 // RX bytes lastToConnect time.Time // time at which last peer to connect to us firstToDisconnect time.Time // time at which the first peer disconnects from us RXSample uint64 // RX bytes between lastToConnect and firstToDisconnectRegistered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0)