Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getDirectoryPath (0.08 sec)

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

            return failureCounts.getOrDefault(handle.getDirectoryPath(), 0);
        }
    
        /**
         * Increment failure count for a handle
         *
         * @param handle notification handle
         */
        private void incrementFailureCount(ChangeNotificationHandle handle) {
            failureCounts.compute(handle.getDirectoryPath(), (path, count) -> count == null ? 1 : count + 1);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry = new DirectoryCacheEntry(directoryPath, leaseKey, DirectoryCacheScope.IMMEDIATE_CHILDREN);
        }
    
        @Test
        public void testConstructor() {
            assertEquals(directoryPath, entry.getDirectoryPath());
            assertEquals(leaseKey, entry.getLeaseKey());
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope());
            assertFalse(entry.isComplete());
            assertFalse(entry.hasChanges());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            } finally {
                lock.writeLock().unlock();
            }
        }
    
        /**
         * Gets the directory path for this cache entry
         * @return the directory path
         */
        public String getDirectoryPath() {
            return directoryPath;
        }
    
        /**
         * Gets the lease key associated with this directory cache
         * @return the lease key
         */
        public Smb2LeaseKey getLeaseKey() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top