Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 387 for Notification (0.37 seconds)

  1. docs_src/background_tasks/tutorial001_py310.py

        with open("log.txt", mode="w") as email_file:
            content = f"notification for {email}: {message}"
            email_file.write(content)
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
        background_tasks.add_task(write_notification, email, message="some notification")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 519 bytes
    - Click Count (0)
  2. 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());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_background_tasks/test_tutorial001.py

        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Notification sent in the background"}
        with open("./log.txt") as f:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 635 bytes
    - Click Count (0)
  4. src/main/java/jcifs/FileNotifyInformation.java

     */
    package jcifs;
    
    /**
     * File notification information
     *
     *
     * @author mbechler
     *
     */
    public interface FileNotifyInformation {
    
        // filter flags
    
        /**
         * Any file name change in the watched directory or subtree causes a change notification wait operation to return.
         * Changes include renaming, creating, or deleting a file.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/NotifyResponse.java

    /**
     * Interface for SMB change notification response messages.
     * Handles responses from directory change notification requests, providing information
     * about file system changes such as file creation, deletion, or modification events.
     *
     * @author mbechler
     */
    public interface NotifyResponse extends CommonServerMessageBlockResponse {
    
        /**
         * Gets the file notification information from the response.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/TestingRemovalListeners.java

      static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>>
          implements RemovalListener<K, V> {
    
        @Override
        public void onRemoval(RemovalNotification<K, V> notification) {
          add(notification);
        }
      }
    
      /**
       * {@link RemovalListener} that counts each {@link RemovalNotification} it receives, and provides
       * access to the most-recently received one.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  8. docs/bucket/notifications/README.md

    notify_webhook        publish bucket notifications to webhook endpoints
    notify_amqp           publish bucket notifications to AMQP endpoints
    notify_kafka          publish bucket notifications to Kafka endpoints
    notify_mqtt           publish bucket notifications to MQTT endpoints
    notify_nats           publish bucket notifications to NATS endpoints
    notify_nsq            publish bucket notifications to NSQ endpoints
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper that manages the lifecycle of the log notification timer and
     * buffers log notification events for periodic flushing to OpenSearch.
     */
    public class LogNotificationHelper {
    
        /**
         * Default constructor.
         */
        public LogNotificationHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top