- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for requestDirectoryLease (0.08 sec)
-
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
* @param scope cache scope * @return lease key or null if not supported * @throws SmbException if an error occurs */ public static Smb2LeaseKey requestDirectoryLease(SmbFile smbFile, int requestedState, DirectoryCacheScope scope) throws SmbException { if (!smbFile.isDirectory()) { throw new SmbException("Directory leasing only supported for directories"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
// Schedule periodic cache cleanup scheduler.scheduleAtFixedRate(this::cleanupExpiredEntries, 60, 60, TimeUnit.SECONDS); } public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) { // Request base leaseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* * @param directoryPath directory path * @param requestedState requested lease state * @param scope cache scope * @return lease key */ public Smb2LeaseKey requestDirectoryLease(String directoryPath, int requestedState, DirectoryCacheScope scope) { // Directory leasing requires SMB 3.0 or higher // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0)