- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for getLeaseByPath (0.07 seconds)
-
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 *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
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";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0)