Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for notifications (0.06 sec)

  1. src/test/java/jcifs/internal/NotifyResponseTest.java

            List<FileNotifyInformation> notifications = response.getNotifyInformation();
    
            assertNotNull(notifications);
            assertEquals(2, notifications.size());
            assertEquals(mockNotifyInfo1, notifications.get(0));
            assertEquals(mockNotifyInfo2, notifications.get(1));
    
            // Verify first notification
            FileNotifyInformation info1 = notifications.get(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertEquals(3, notifications.size());
    
            // Verify first notification
            assertEquals("file1.txt", notifications.get(0).getFileName());
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, notifications.get(0).getAction());
    
            // Verify second notification
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertEquals(3, notifications.size());
    
            assertEquals(1, notifications.get(0).getAction());
            assertEquals("file1", notifications.get(0).getFileName());
    
            assertEquals(2, notifications.get(1).getAction());
            assertEquals("file2", notifications.get(1).getFileName());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

                    List<WitnessAsyncNotifyMessage.WitnessNotificationResponse> notifications = message.getNotifications();
                    if (!notifications.isEmpty()) {
                        log.debug("Received {} notifications", notifications.size());
                        return notifications.get(0); // Return first notification
                    }
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. docs/smb3-features/06-witness-protocol-design.md

            }
        }
        
        private void processNotificationBatch(List<WitnessNotification> notifications) {
            // Process multiple notifications together for efficiency
            for (WitnessNotification notification : notifications) {
                // Handle notification
            }
        }
    }
    ```
    
    ## 10. Security Considerations
    
    ### 10.1 Witness Authentication
    ```java
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessClient.java

        /**
         * Processes a received witness notification.
         *
         * @param notification the notification to process
         */
        public void processNotification(WitnessNotification notification) {
            log.info("Received witness notification: {} for resource: {}", notification.getEventType(), notification.getResourceName());
    
            // Find registrations that match this notification
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

        List<RemovalNotification<Integer, Integer>> notifications = new ArrayList<>();
        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder()
                .removalListener(
                    new RemovalListener<Integer, Integer>() {
                      @Override
                      public void onRemoval(RemovalNotification<Integer, Integer> notification) {
                        notifications.add(notification);
                      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

        }
    
        /**
         * Gets the list of notifications received.
         *
         * @return the list of notifications
         */
        public List<WitnessNotificationResponse> getNotifications() {
            return new ArrayList<>(notifications);
        }
    
        /**
         * Sets the notifications list.
         *
         * @param notifications the notifications to set
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/RemovalListeners.java

    public final class RemovalListeners {
    
      private RemovalListeners() {}
    
      /**
       * Returns a {@code RemovalListener} which processes all eviction notifications using {@code
       * executor}.
       *
       * @param listener the backing listener
       * @param executor the executor with which removal notifications are asynchronously executed
       */
      public static <K, V> RemovalListener<K, V> asynchronous(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

        /**
         * Checks if directory change notifications are enabled for cache invalidation
         * @return true if change notifications are enabled
         */
        public boolean isNotificationEnabled() {
            return notificationEnabled;
        }
    
        /**
         * Enables or disables directory change notifications
         * @param notificationEnabled true to enable change notifications
         */
    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