- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for canCacheDirectoryListing (0.31 seconds)
-
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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(baseLeaseManager.getLease(leaseKey)).thenReturn(mockLeaseEntry); assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath)); // When read cache is lost when(mockLeaseEntry.hasReadCache()).thenReturn(false); assertFalse(directoryLeaseManager.canCacheDirectoryListing(directoryPath)); } @Test public void testGetCachedDirectoryListing() throws IOException {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertFalse(cacheEntry.isComplete()); // Step 3: Verify can cache directory listing assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath)); // Step 4: Initially no cached listing assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 7.1K bytes - Click Count (0)