- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 148 for reconnected (0.06 seconds)
-
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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 8.5K bytes - Click Count (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) /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 5.9K bytes - Click Count (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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (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 changeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (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)));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.2K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)