- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for reconnected (0.04 sec)
-
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
this.maxRetries = maxRetries; this.retryDelay = retryDelay; } /** * Attempt to reconnect a handle * @param path the file path * @param cause the original exception that triggered reconnection * @return a future that completes with the reconnected handle info or fails */ public CompletableFuture<HandleInfo> reconnectHandle(String path, Exception cause) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
/** * The associated lease key if this handle has an SMB2 lease */ private final Smb2LeaseKey leaseKey; /** * Flag indicating whether this handle is currently being reconnected */ private volatile boolean reconnecting; // Not serialized - will be null after deserialization private transient Object file; // Reference to SmbFile (avoid circular dependencies) /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
internal/grid/connection.go
// Signal that we are reconnected, update state and handle messages. // Prevent other connections from connecting while we process. c.reconnectMu.Lock() if c.remoteID != nil { c.reconnected() } rid := uuid.UUID(req.ID) c.remoteID = &rid // Handle incoming messages until disconnect. c.handleMessages(ctx, conn) return nil } // reconnected signals the connection has been reconnected.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 46.9K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
HandleReconnector reconnector = new HandleReconnector(handleManager); try { SmbFile reconnected = reconnector.reconnectHandle(this, e).get(5, TimeUnit.SECONDS); // Update this file's state from reconnected file this.fileId = reconnected.fileId; } catch (Exception reconnectError) { log.error("Failed to reconnect durable handle", reconnectError);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
.execute(() -> { try { transport.disconnect(); transport.connect(); // Reconnect log.info("Successfully reconnected after witness notification"); } catch (Exception e) { log.error("Failed to reconnect after witness notification", e); } }); } private void scheduleAddressChange(InetAddress newAddress) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
try { transport.disconnect(true); transport.connect(getConfig().getConnTimeout()); // Reconnect log.info("Successfully reconnected after witness notification"); } catch (Exception e) { log.error("Failed to reconnect after witness notification", e); } }); } /** * Schedule an address changeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
log.error("Failed to perform emergency tree cleanup", e); } } /** * * @return whether the tree is connected */ public boolean isConnected() { return this.tid != -1 && this.session.isConnected() && this.connectionState.get() == 2; } /** * @return the type of this tree */ public int getTreeType() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
} /** * Test for isConnected() method. * Verifies that the method returns the correct connected status. */ @Test void testIsConnected() { when(smbTreeHandle.isConnected()).thenReturn(true); assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true"); when(smbTreeHandle.isConnected()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6))); assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6))); assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5))); assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5))); assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6))); assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8)));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
when(tree.getTreeId()).thenReturn(11L); assertFalse(h.isValid()); // Connected=false makes it invalid when(tree.getTreeId()).thenReturn(10L); when(tree.isConnected()).thenReturn(false); assertFalse(h.isValid()); // Mark closed makes it invalid when(tree.isConnected()).thenReturn(true); assertTrue(h.isValid()); h.markClosed();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)