Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CacheScope (1.28 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

         */
        public DirectoryCacheScope getCacheScope() {
            return cacheScope;
        }
    
        /**
         * Sets the cache scope for directory enumeration caching
         * @param cacheScope the cache scope to set
         */
        public void setCacheScope(DirectoryCacheScope cacheScope) {
            this.cacheScope = cacheScope;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. docs/smb3-features/04-directory-leasing-design.md

            
            // CacheScope (4 bytes)
            writeInt4(buffer, dataOffset, cacheScope.ordinal());
            dataOffset += 4;
            
            // MaxCacheAge (8 bytes)
            writeInt8(buffer, dataOffset, maxCacheAge);
            dataOffset += 8;
            
            // Flags (4 bytes)
            int flags = 0;
            if (cacheScope == DirectoryCacheScope.RECURSIVE_TREE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(leaseState, SMBUtil.readInt4(buffer, 40));
    
            // Verify directory-specific data
            assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope
            assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge
    
            // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top