- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DirectoryChangeNotifier (0.51 sec)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.SmbFile; /** * Handles directory change notifications for SMB3 directory leasing */ public class DirectoryChangeNotifier { private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class); // Backoff and timing constants (in ms) private static final long BASE_POLL_INTERVAL = 1000; private static final long MAX_POLL_INTERVAL = 30000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
assertFalse(entry.hasChild("file1.txt")); // Test FILE_MODIFIED entry.updateChild("file2.txt", 2048L, 2000L, false, 0x20, 600L, 900L); directoryLeaseManager.handleDirectoryChange(directoryPath, "file2.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_MODIFIED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
private final ConcurrentHashMap<String, DirectoryCacheEntry> directoryCache; private final ConcurrentHashMap<Smb2LeaseKey, String> leaseToPath; private final ScheduledExecutorService scheduler; private final DirectoryChangeNotifier changeNotifier; /** * Create a new directory lease manager * * @param context CIFS context * @param leaseManager base lease manager */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
private final ConcurrentHashMap<Smb2LeaseKey, String> leaseToPath; private final ScheduledExecutorService scheduler; // Change notification integration private final DirectoryChangeNotifier changeNotifier; public DirectoryLeaseManager(CIFSContext context, LeaseManager leaseManager) { this.context = context; this.baseLeaseManager = leaseManager;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Step 8: Test change notifications // Simulate file addition directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); // Cache should be invalidated assertFalse(cacheEntry.isComplete()); // Step 9: Test lease break // Re-populate cache
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
``` Package: jcifs.internal.smb2.lease ├── DirectoryLeaseContext.java - Directory-specific lease context ├── DirectoryLeaseCache.java - Directory metadata cache └── DirectoryChangeNotifier.java - Directory change tracking ``` #### 4.2 Implementation Tasks - [ ] Extend lease implementation for directories - [ ] Implement directory metadata caching
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0)