- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for requestDurableHandle (0.1 seconds)
-
docs/smb3-features/02-persistent-handles-design.md
} } // Request new durable handle if configured if (context.getConfig().isUseDurableHandles()) { requestDurableHandle(); } // ... rest of normal connection logic ... } private void requestDurableHandle() { Configuration config = context.getConfig(); // Determine handle type based on configuration and server capabilitiesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
* @param type the handle type * @param timeout the timeout in milliseconds * @param leaseKey the associated lease key (can be null) * @return the handle GUID */ public HandleGuid requestDurableHandle(String path, HandleType type, long timeout, Smb2LeaseKey leaseKey) { HandleGuid guid = new HandleGuid(); // Create handle info with empty file ID (will be populated after successful create response)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
public void testMultipleHandles() { HandleGuid guid1 = manager.requestDurableHandle("/test/file1.txt", HandleType.DURABLE_V2, 120000, null); HandleGuid guid2 = manager.requestDurableHandle("/test/file2.txt", HandleType.PERSISTENT, 0, new Smb2LeaseKey()); assertEquals(2, manager.getHandleCount()); HandleInfo info1 = manager.getHandleByGuid(guid1); HandleInfo info2 = manager.getHandleByGuid(guid2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 6.6K bytes - Click Count (0)