Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isDirectoryNotificationsEnabled (0.64 sec)

  1. 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();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. 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();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  3. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. 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);
    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/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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. 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;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top