Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newConcurrentLinkedQueue (0.14 sec)

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

              subscriber(bus, s1, "handleString", String.class),
              subscriber(bus, s2, "handleString", String.class));
    
      private final ConcurrentLinkedQueue<Object> dispatchedSubscribers =
          Queues.newConcurrentLinkedQueue();
    
      private Dispatcher dispatcher;
    
      public void testPerThreadQueuedDispatcher() {
        dispatcher = Dispatcher.perThreadDispatchQueue();
        dispatcher.dispatch(1, integerSubscribers.iterator());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

              subscriber(bus, s1, "handleString", String.class),
              subscriber(bus, s2, "handleString", String.class));
    
      private final ConcurrentLinkedQueue<Object> dispatchedSubscribers =
          Queues.newConcurrentLinkedQueue();
    
      private Dispatcher dispatcher;
    
      public void testPerThreadQueuedDispatcher() {
        dispatcher = Dispatcher.perThreadDispatchQueue();
        dispatcher.dispatch(1, integerSubscribers.iterator());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/Dispatcher.java

        // in some cases.
    
        /** Global event queue. */
        private final ConcurrentLinkedQueue<EventWithSubscriber> queue =
            Queues.newConcurrentLinkedQueue();
    
        @Override
        void dispatch(Object event, Iterator<Subscriber> subscribers) {
          checkNotNull(event);
          while (subscribers.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top