Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,642 for event (0.07 sec)

  1. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

          } finally {
            ready = true;
          }
        }
    
        @Subscribe
        public void listenForDoubles(Double event) {
          assertTrue("I received an event when I wasn't ready!", ready);
          eventsReceived.add(event);
        }
      }
    
      public void testEventOrderingIsPredictable() {
        EventProcessor processor = new EventProcessor();
        bus.register(processor);
    
        EventRecorder recorder = new EventRecorder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/DeadEvent.java

      private final Object source;
      private final Object event;
    
      /**
       * Creates a new DeadEvent.
       *
       * @param source object broadcasting the DeadEvent (generally the {@link EventBus}).
       * @param event the event that could not be delivered.
       */
      public DeadEvent(Object source, Object event) {
        this.source = checkNotNull(source);
        this.event = checkNotNull(event);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. docs/de/docs/advanced/events.md

    Diese Funktionen können mit `async def` oder normalem `def` deklariert werden.
    
    ### `startup`-Event
    
    Um eine Funktion hinzuzufügen, die vor dem Start der Anwendung ausgeführt werden soll, deklarieren Sie diese mit dem Event `startup`:
    
    ```Python hl_lines="8"
    {!../../docs_src/events/tutorial001.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Event(id, type, data))
      }
    
      fun assertOpen(): EventSource {
        val event = nextEvent() as Open
        return event.eventSource
      }
    
      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(message: String?) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. internal/event/target/amqp.go

    func NewAMQPTarget(id string, args AMQPArgs, loggerOnce logger.LogOnce) (*AMQPTarget, error) {
    	var queueStore store.Store[event.Event]
    	if args.QueueDir != "" {
    		queueDir := filepath.Join(args.QueueDir, storePrefix+"-amqp-"+id)
    		queueStore = store.NewQueueStore[event.Event](queueDir, args.QueueLimit, event.StoreExtension)
    		if err := queueStore.Open(); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    <database>"`
    
    MinIO supports persistent event store. The persistent store will backup events if MySQL connection goes offline and then replays the stored events when the broken connection comes back up. The event store can be configured by setting a directory path in `queue_dir` field, and the maximum number of events, which can be stored in a `queue_dir`, in `queue_limit` field. For example, `queue_dir` can be set to `/home/events` and `queue_limit` can be set to `1000`. By default,...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. tests/test_sub_callbacks.py

    )
    def invoice_notification(body: InvoiceEvent):
        pass  # pragma: nocover
    
    
    class Event(BaseModel):
        name: str
        total: float
    
    
    events_callback_router = APIRouter()
    
    
    @events_callback_router.get("{$callback_url}/events/{$request.body.title}")
    def event_callback(event: Event):
        pass  # pragma: nocover
    
    
    subrouter = APIRouter()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    	event := input.(controllers.Event)
    	switch event.Latest().(type) {
    	case *corev1.Namespace:
    		return s.reconcileNamespace(input)
    	case *corev1.Pod:
    		return s.reconcilePod(input)
    	default:
    		return fmt.Errorf("unexpected event type: %+v", input)
    	}
    }
    
    func (s *InformerHandlers) reconcileNamespace(input any) error {
    	event := input.(controllers.Event)
    	ns := event.Latest().(*corev1.Namespace)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/LoggingRepositoryListener.java

        public void artifactInstalling(RepositoryEvent event) {
            logger.info("Installing {} to {}", event.getArtifact().getFile(), event.getFile());
        }
    
        @Override
        public void metadataInstalling(RepositoryEvent event) {
            logger.debug("Installing {} to {}", event.getMetadata(), event.getFile());
        }
    
        @Override
        public void metadataResolved(RepositoryEvent event) {
            Exception e = event.getException();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/AbstractExecutionListener.java

            // default does nothing
        }
    
        public void projectSucceeded(ExecutionEvent event) {
            // default does nothing
        }
    
        public void projectFailed(ExecutionEvent event) {
            // default does nothing
        }
    
        public void forkStarted(ExecutionEvent event) {
            // default does nothing
        }
    
        public void forkSucceeded(ExecutionEvent event) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top