Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for setCacheScope (0.05 seconds)

  1. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. 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());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top