- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DirectoryLeaseState (0.2 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java
* directory metadata and reduce network round-trips for directory operations. */ public class DirectoryLeaseState { /** * Private constructor to prevent instantiation of this utility class */ private DirectoryLeaseState() { // Utility class - prevent instantiation } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
} @Test public void testCanCacheEnumeration() { // Should return true when read caching is enabled assertTrue(DirectoryLeaseState.canCacheEnumeration(Smb2LeaseState.SMB2_LEASE_READ_CACHING)); assertTrue(DirectoryLeaseState.canCacheEnumeration(DirectoryLeaseState.DIRECTORY_READ_HANDLE));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
Smb2LeaseKey key3 = new Smb2LeaseKey(); when(baseLeaseManager.requestLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key1); when(baseLeaseManager.requestLease(dir2, DirectoryLeaseState.DIRECTORY_READ_HANDLE)).thenReturn(key2); when(baseLeaseManager.requestLease(dir3, DirectoryLeaseState.DIRECTORY_FULL)).thenReturn(key3); // Request leases for multiple directories
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Request leases for both directories Smb2LeaseKey key1 = directoryLeaseManager.requestDirectoryLease(dir1, DirectoryLeaseState.DIRECTORY_READ_HANDLE, DirectoryCacheScope.IMMEDIATE_CHILDREN); Smb2LeaseKey key2 = directoryLeaseManager.requestDirectoryLease(dir2, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE); assertNotNull(key1); assertNotNull(key2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
context.setLeaseKey(key2); assertEquals(key2, context.getLeaseKey()); context.setLeaseState(DirectoryLeaseState.DIRECTORY_FULL); assertEquals(DirectoryLeaseState.DIRECTORY_FULL, context.getLeaseState()); context.setCacheScope(DirectoryCacheScope.RECURSIVE_TREE); assertEquals(DirectoryCacheScope.RECURSIVE_TREE, context.getCacheScope());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
- **MS-SMB2 Section 2.2.36**: SMB2 Change Notify Response - **MS-SMB2 Section 3.3.5.9.11**: Directory Leasing and Caching ## 3. Directory Lease Types ### 3.1 Directory-Specific Lease States ```java public class DirectoryLeaseState extends Smb2LeaseState { // Standard lease states apply, plus directory-specific semantics: // READ_CACHING for directories means: // - Can cache directory enumeration results
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)