Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for canCacheDirectoryListing (0.12 sec)

  1. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            String directoryPath = smbFile.getPath();
    
            // Check if we can use cached directory listing
            if (dirManager.canCacheDirectoryListing(directoryPath)) {
                List<SmbFile> cachedFiles = dirManager.getCachedDirectoryListing(directoryPath);
                if (cachedFiles != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

                    directoryCache.remove(directoryPath);
                    return null;
                }
            }
            
            return entry;
        }
        
        public boolean canCacheDirectoryListing(String directoryPath) {
            DirectoryCacheEntry entry = getCacheEntry(directoryPath);
            if (entry == null) return false;
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

        }
    
        /**
         * Check if directory listing can be cached
         *
         * @param directoryPath directory path
         * @return true if caching is allowed
         */
        public boolean canCacheDirectoryListing(String directoryPath) {
            DirectoryCacheEntry entry = getCacheEntry(directoryPath);
            if (entry == null)
                return false;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top