Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for notification (0.47 sec)

  1. cmd/notification.go

    	"github.com/minio/minio/internal/bucket/bandwidth"
    	"github.com/minio/minio/internal/logger"
    )
    
    // This file contains peer related notifications. For sending notifications to
    // external systems, see event-notification.go
    
    // NotificationSys - notification system.
    type NotificationSys struct {
    	peerClients    []*peerRESTClient // Excludes self
    	allPeerClients []*peerRESTClient // Includes nil client for self
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            /**
             * Gets the future for asynchronous notification completion
             * @return the notification future
             */
            public CompletableFuture<Void> getNotificationFuture() {
                return notificationFuture;
            }
    
            /**
             * Sets the future for asynchronous notification completion
             * @param future the notification future to set
             */
    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/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)
  6. src/test/java/jcifs/internal/witness/WitnessClientTest.java

            // Register for notifications
            WitnessRegistration registration =
                    client.registerForNotifications("\\\\server\\share", serverAddress, listener).get(5, TimeUnit.SECONDS);
    
            // Create and process a notification
            WitnessNotification notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "\\\\server\\share");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            notification.addNewIPAddress(ipv4);
            notification.addNewIPAddress(ipv6);
            notification.addOldIPAddress(ipv4);
    
            List<WitnessNotification.WitnessIPAddress> newAddresses = notification.getNewIPAddresses();
            List<WitnessNotification.WitnessIPAddress> oldAddresses = notification.getOldIPAddresses();
    
            assertEquals(2, newAddresses.size());
            assertEquals(1, oldAddresses.size());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

        private int breakReason;
        private int accessMaskHint;
        private int shareAccessHint;
    
        /**
         * Constructs an SMB2 lease break notification with the given configuration.
         *
         * @param config the configuration for this notification
         */
        public Smb2LeaseBreakNotification(Configuration config) {
            super(config);
        }
    
        /**
         * Gets the lease key that is being broken
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Handle a witness event
         *
         * @param notification the witness notification
         */
        private void handleWitnessEvent(WitnessNotification notification) {
            log.info("Handling witness event: {} for resource: {}", notification.getEventType(), notification.getResourceName());
    
            switch (notification.getEventType()) {
            case RESOURCE_CHANGE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /**
         * Creates a new empty witness notification.
         */
        public WitnessNotification() {
            this.timestamp = System.currentTimeMillis();
            this.newIPAddresses = new ArrayList<>();
            this.oldIPAddresses = new ArrayList<>();
            this.flags = WITNESS_RESOURCE_STATE_UNKNOWN;
        }
    
        /**
         * Creates a new witness notification.
         *
         * @param eventType the type of event
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top