- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for reconnection (0.07 sec)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
} return null; } finally { lock.readLock().unlock(); } } /** * Complete a reconnection attempt * @param path the file path * @param success true if reconnection was successful */ public void completeReconnect(String path, boolean success) { lock.writeLock().lock(); try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
} } // Handle network errors with automatic reconnection @Override protected void handleNetworkError(IOException e) { if (handleType != null && handleType != HandleType.NONE) { // Attempt automatic reconnection HandleReconnector reconnector = new HandleReconnector(handleManager); try { SmbFile reconnected = reconnector.reconnectHandle(this, e).get(5, TimeUnit.SECONDS);
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_IMPLEMENTATION_PLAN.md
├── DurableHandleV2Request.java - Durable handle v2 with timeout └── HandleReconnector.java - Automatic handle reconnection ``` #### 2.2 Implementation Tasks - [ ] Implement persistent/durable handle contexts - [ ] Add handle GUID generation and tracking - [ ] Implement handle state serialization - [ ] Create reconnection logic with handle replay - [ ] Add timeout management for durable handles - [ ] Implement handle lease association
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
protected boolean usePersistentHandles = false; /** Timeout for durable handles in milliseconds */ protected long durableHandleTimeout = 120000; // 2 minutes /** Maximum number of retry attempts for handle reconnection */ protected int handleReconnectRetries = 3; /** Directory to store persistent handle state */ protected String handleStateDirectory; // Directory leasing configuration fields /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
if (witnessClient != null) { witnessClient.close(); } super.logoff(); } ``` ### 5.2 Tree Connection Integration ```java // In SmbTree.java public void connectWithWitnessSupport() throws IOException { // Perform normal tree connection super.connect(); // Register for witness notifications for this share if (session.isWitnessEnabled()) {
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/Configuration.java
*/ long getDurableHandleTimeout(); /** * Property {@code jcifs.smb.client.handleReconnectRetries}, defaults to 3 * * @return maximum number of retry attempts for handle reconnection */ int getHandleReconnectRetries(); /** * Enable SMB3 Multi-Channel support * * Property {@code jcifs.smb.client.useMultiChannel} (boolean, default true) *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0) -
docs/smb3-features/01-smb3-lease-design.md
// Getters and increment methods } ``` ## 12. Future Enhancements 1. **Directory Leases**: Extend lease support for directories 2. **Lease Key Persistence**: Save lease keys for reconnection 3. **Parent-Child Relationships**: Implement hierarchical leases 4. **Lease Sharing**: Support lease sharing across handlesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
// Validates simple property delegation to the connection when(treeConnection.getTreeType()).thenReturn(7); when(treeConnection.getConnectedShare()).thenReturn("SHARE"); assertEquals(7, handle.getTreeType()); assertEquals("SHARE", handle.getConnectedShare()); verify(treeConnection).getTreeType(); verify(treeConnection).getConnectedShare(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
URLConnection connection = handler.openConnection(url); assertNotNull(connection, "Connection should not be null."); assertTrue(connection instanceof NtlmHttpURLConnection, "Connection should be an instance of NtlmHttpURLConnection."); } @Test void testOpenConnection_UnknownProtocol_ThrowsIOException() { // This test verifies that attempting to open a connection for an unsupported protocol
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)