Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getNotificationFilter (6.18 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(scope, context.getCacheScope());
            assertEquals(30000L, context.getMaxCacheAge());
            assertTrue(context.isNotificationEnabled());
            assertEquals(0, context.getNotificationFilter());
        }
    
        @Test
        public void testGetName() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertEquals(context.getMaxCacheAge(), decodedContext.getMaxCacheAge());
            assertEquals(context.isNotificationEnabled(), decodedContext.isNotificationEnabled());
            assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter());
            assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey());
        }
    
        @Test
        public void testConcurrentAccess() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. docs/smb3-features/04-directory-leasing-design.md

                        Smb2ChangeNotifyRequest request = new Smb2ChangeNotifyRequest();
                        request.setFileId(handle.directoryFile.getFileId());
                        request.setCompletionFilter(getNotificationFilter());
                        request.setWatchTree(false);  // Non-recursive for now
                        
                        Smb2ChangeNotifyResponse response = (Smb2ChangeNotifyResponse) 
    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/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            }
        }
    
        /**
         * Get notification filter flags
         *
         * @return filter flags for change notifications
         */
        public int getNotificationFilter() {
            return FILE_NOTIFY_CHANGE_FILE_NAME | FILE_NOTIFY_CHANGE_DIR_NAME | FILE_NOTIFY_CHANGE_ATTRIBUTES | FILE_NOTIFY_CHANGE_SIZE
                    | FILE_NOTIFY_CHANGE_LAST_WRITE;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        }
    
        /**
         * Gets the notification filter flags that specify which changes to monitor
         * @return the notification filter flags
         */
        public int getNotificationFilter() {
            return notificationFilter;
        }
    
        /**
         * Sets the notification filter flags that specify which changes to monitor
         * @param notificationFilter the notification filter flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top