Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for startWatching (0.28 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

            leaseToPath.put(leaseKey, directoryPath);
            
            // Start change notification if enabled
            if (context.getConfig().isDirectoryNotificationsEnabled()) {
                changeNotifier.startWatching(directoryPath, leaseKey);
            }
            
            return leaseKey;
        }
        
        public DirectoryCacheEntry getCacheEntry(String directoryPath) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        }
    
        /**
         * Start watching a directory for changes
         *
         * @param directoryPath directory path
         * @param leaseKey lease key
         */
        public void startWatching(String directoryPath, Smb2LeaseKey leaseKey) {
            if (activeWatchers.containsKey(directoryPath)) {
                return; // Already watching
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Start change notification if enabled
            Configuration config = context.getConfig();
            if (isDirectoryNotificationsEnabled(config)) {
                changeNotifier.startWatching(directoryPath, leaseKey);
            }
    
            return leaseKey;
        }
    
        /**
         * Get cache entry for a directory
         *
         * @param directoryPath directory path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top