Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setCacheScope (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            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());
    
            context.setMaxCacheAge(60000L);
            assertEquals(60000L, context.getMaxCacheAge());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            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;
        }
    
        /**
         * Gets the maximum age for cached directory data before requiring refresh
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top