- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for directoryCacheScope (0.67 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
DirectoryCacheScope.IMMEDIATE_CHILDREN); directoryLeaseManager.requestDirectoryLease(dir2, DirectoryLeaseState.DIRECTORY_READ_HANDLE, DirectoryCacheScope.METADATA_ONLY); directoryLeaseManager.requestDirectoryLease(dir3, DirectoryLeaseState.DIRECTORY_FULL, DirectoryCacheScope.RECURSIVE_TREE); // Verify all cache entries exist
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
private volatile boolean isComplete; // True if full enumeration cached private volatile boolean hasChanges; // True if changes detected private DirectoryCacheScope scope; private long maxAge; public DirectoryCacheEntry(String path, Smb2LeaseKey key, DirectoryCacheScope scope) { this.directoryPath = path; this.leaseKey = key; this.scope = scope;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
@Test public void testConstructor() { Smb2LeaseKey key = new Smb2LeaseKey(); int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE; DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN; DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope); assertEquals(key, context.getLeaseKey());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
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); assertNotEquals(key1, 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/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
* Gets the cache scope (ALL or IMMEDIATE_CHILDREN) * @return the cache scope */ public DirectoryCacheScope getScope() { return scope; } /** * Sets the cache scope for this directory cache * @param scope the cache scope to set */ public void setScope(DirectoryCacheScope scope) { this.scope = scope; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
if (value != null) { this.useDirectoryLeasing = Boolean.parseBoolean(value); } value = props.getProperty("jcifs.smb.client.directoryCacheScope"); if (value != null) { this.directoryCacheScope = value; } value = props.getProperty("jcifs.smb.client.directoryCacheTimeout"); if (value != null) { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/config/BaseConfiguration.java
*/ protected boolean useDirectoryLeasing = true; /** * The scope of directory caching: ALL (entire subtree) or IMMEDIATE_CHILDREN (direct children only) */ protected String directoryCacheScope = "IMMEDIATE_CHILDREN"; /** * Directory cache timeout in milliseconds */ protected long directoryCacheTimeout = 30000L; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 36.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* @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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return whether to use directory leasing for caching */ boolean isUseDirectoryLeasing(); /** * Property {@code jcifs.smb.client.directoryCacheScope} (String, default "IMMEDIATE_CHILDREN") * * @return directory cache scope (IMMEDIATE_CHILDREN, RECURSIVE_TREE, METADATA_ONLY, FULL_ENUMERATION) */ String getDirectoryCacheScope(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 25.4K bytes - Viewed (0)