Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cancelNotification (0.71 sec)

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

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.setActive(false);
                // Cancel any pending notifications
                cancelNotification(handle);
                // Clean up failure count to prevent memory leak
                failureCounts.remove(directoryPath);
            }
        }
    
        /**
         * Start asynchronous notification monitoring
    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. docs/smb3-features/04-directory-leasing-design.md

            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
            if (handle != null) {
                handle.active = false;
                // Cancel any pending notifications
                cancelNotification(handle);
            }
        }
        
        private void startAsyncNotification(ChangeNotificationHandle handle) {
            CompletableFuture.runAsync(() -> {
                while (handle.active) {
    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