Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CacheEntry (0.07 sec)

  1. src/main/java/jcifs/smb1/smb1/Dfs.java

         * Sentinel cache entry indicating a negative cache result
         */
        protected static CacheEntry FALSE_ENTRY = new Dfs.CacheEntry(0L);
    
        /**
         * Cache of trusted domains for DFS resolution
         */
        protected CacheEntry _domains = null; /* aka trusted domains cache */
        /**
         * Cache of DFS referrals
         */
        protected CacheEntry referrals = null;
    
        /**
         * Gets the map of trusted domains for DFS resolution
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

         * @return
         */
        private static CacheEntry<DfsReferralDataInternal> cacheRootReferral(final CIFSContext tf, final String domain, final String root,
                final Map<String, CacheEntry<DfsReferralDataInternal>> roots, final DfsReferralDataInternal dr,
                CacheEntry<DfsReferralDataInternal> links) {
            if (dr != null) {
                links = new CacheEntry<>(tf.getConfig().getDfsTtl());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            // Step 2: Verify cache entry was created
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
            assertEquals(directoryPath, cacheEntry.getDirectoryPath());
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, cacheEntry.getScope());
            assertFalse(cacheEntry.isComplete());
    
            // Step 3: Verify can cache directory listing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify cache entry was created
            DirectoryCacheEntry cacheEntry = directoryLeaseManager.getCacheEntry(directoryPath);
            assertNotNull(cacheEntry);
            assertEquals(directoryPath, cacheEntry.getDirectoryPath());
            assertEquals(expectedKey, cacheEntry.getLeaseKey());
            assertEquals(scope, cacheEntry.getScope());
        }
    
        @Test
        public void testGetCacheEntry() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.resolveOrder = tc.getConfig().getResolveOrder();
    
            initCache(tc);
        }
    
        static final class CacheEntry {
    
            Name hostName;
            NbtAddress address;
            long expiration;
    
            CacheEntry(final Name hostName, final NbtAddress address, final long expiration) {
                this.hostName = hostName;
                this.address = address;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtAddress.java

            if (CACHE_POLICY == 0) {
                return;
            }
            synchronized (ADDRESS_CACHE) {
                CacheEntry entry = (CacheEntry) ADDRESS_CACHE.get(hostName);
                if (entry == null) {
                    entry = new CacheEntry(hostName, addr, expiration);
                    ADDRESS_CACHE.put(hostName, entry);
                } else {
                    entry.address = addr;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
    
            // Create directory cache entry
            DirectoryCacheEntry cacheEntry = new DirectoryCacheEntry(directoryPath, leaseKey, scope);
            directoryCache.put(directoryPath, cacheEntry);
            leaseToPath.put(leaseKey, directoryPath);
    
            // Start change notification if enabled
            Configuration config = context.getConfig();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. docs/smb3-features/04-directory-leasing-design.md

            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
            
            // Create directory cache entry
            DirectoryCacheEntry cacheEntry = new DirectoryCacheEntry(directoryPath, leaseKey, scope);
            directoryCache.put(directoryPath, cacheEntry);
            leaseToPath.put(leaseKey, directoryPath);
            
            // Start change notification if enabled
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top