Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 449 for notification (0.27 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
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  2. cmd/event-notification.go

    }
    
    // Targets returns all the registered targets
    func (evnot *EventNotifier) Targets() []event.Target {
    	return evnot.targetList.Targets()
    }
    
    // InitBucketTargets - initializes event notification system from notification.xml of all buckets.
    func (evnot *EventNotifier) InitBucketTargets(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/notification-summary.go

    Aditya Manthramurthy <******@****.***> 1687222388 -0700
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  4. cmd/bucket-notification-handlers.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	bucketNotificationConfig = "notification.xml"
    )
    
    // GetBucketNotificationHandler - This HTTP handler returns event notification configuration
    // as per http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html.
    // It returns empty configuration if its not set.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. cmd/listen-notification-handlers.go

    Anis Eleuch <******@****.***> 1712232280 +0100
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. docs_src/background_tasks/tutorial001.py

    app = FastAPI()
    
    
    def write_notification(email: str, message=""):
        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")
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 519 bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/WatchTest.java

                }
                catch ( TimeoutException e ) {
                    // might not recieve another notification
                }
            }
            if ( !found ) {
                log.info("Notifications " + infos);
            }
            assertTrue("No notification found", found);
        }
    
    
        private boolean checkInResult ( int action, String name, List<FileNotifyInformation> infos )
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
        for (RemovalNotification<String, String> notification : removalListener) {
          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
        }
    
        CacheStats stats = cache.stats();
        assertEquals(removalListener.size(), stats.evictionCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

        Object key = new Object();
        assertSame(computed, cache.getUnchecked(key));
        RemovalNotification<Object, Object> notification = listener.remove();
        assertSame(key, notification.getKey());
        assertSame(computed, notification.getValue());
        assertSame(RemovalCause.SIZE, notification.getCause());
        assertTrue(listener.isEmpty());
        checkEmpty(cache);
      }
    
      public void testGet_expireAfterWrite() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. fastapi/background.py

        app = FastAPI()
    
    
        def write_notification(email: str, message=""):
            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):
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top