- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for isDirectoryNotificationsEnabled (0.17 seconds)
-
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
* * @param config configuration * @return true if notifications are enabled */ private boolean isDirectoryNotificationsEnabled(Configuration config) { return config.isDirectoryNotificationsEnabled(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 12.3K bytes - Click Count (0) -
docs/smb3-features/04-directory-leasing-design.md
directoryCache.put(directoryPath, cacheEntry); leaseToPath.put(leaseKey, directoryPath); // Start change notification if enabled if (context.getConfig().isDirectoryNotificationsEnabled()) { changeNotifier.startWatching(directoryPath, leaseKey); } return leaseKey; } public DirectoryCacheEntry getCacheEntry(String directoryPath) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/config/DelegatingConfiguration.java
@Override public long getDirectoryCacheTimeout() { return this.delegate.getDirectoryCacheTimeout(); } @Override public boolean isDirectoryNotificationsEnabled() { return this.delegate.isDirectoryNotificationsEnabled(); } @Override public int getMaxDirectoryCacheEntries() { return this.delegate.getMaxDirectoryCacheEntries(); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
/** * Property {@code jcifs.smb.client.directoryNotificationsEnabled} (boolean, default true) * * @return whether directory change notifications are enabled */ boolean isDirectoryNotificationsEnabled(); /** * Property {@code jcifs.smb.client.maxDirectoryCacheEntries} (int, default 1000) * * @return maximum number of directory cache entries */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
} @Override public long getDirectoryCacheTimeout() { return this.directoryCacheTimeout; } @Override public boolean isDirectoryNotificationsEnabled() { return this.directoryNotificationsEnabled; } @Override public int getMaxDirectoryCacheEntries() { return this.maxDirectoryCacheEntries; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
@BeforeEach public void setUp() throws Exception { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Create real lease manager for integration testing baseLeaseManager = new LeaseManager(context);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
private AutoCloseable mocks; @BeforeEach public void setUp() { mocks = MockitoAnnotations.openMocks(this); when(context.getConfig()).thenReturn(config); when(config.isDirectoryNotificationsEnabled()).thenReturn(false); // Disable for unit tests directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager); } @AfterEach public void tearDown() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0)