- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLeaseByPath (0.06 sec)
-
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
assertNotNull(leaseManager.getLease(key)); leaseManager.releaseLease(key); assertNull(leaseManager.getLease(key)); assertNull(leaseManager.getLeaseByPath(path)); } @Test @DisplayName("Should get lease by path") void testGetLeaseByPath() { String path = "/share/document.doc";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
return leases.get(key); } /** * Get lease entry by path * * @param path file path * @return lease entry or null if not found */ public LeaseEntry getLeaseByPath(String path) { Smb2LeaseKey key = pathToLease.get(path); return key != null ? leases.get(key) : null; } /** * Handle a lease break notification *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)