Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for Subscribers (0.08 sec)

  1. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       *     down the executor after the last event has been posted to this event bus.
       * @param subscriberExceptionHandler Handler used to handle exceptions thrown from subscribers.
       *     See {@link SubscriberExceptionHandler} for more information.
       * @since 16.0
       */
      public AsyncEventBus(Executor executor, SubscriberExceptionHandler subscriberExceptionHandler) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. cmd/consolelogger.go

    	sys.nodeName = host.Name
    }
    
    // HasLogListeners returns true if console log listeners are registered
    // for this node or peers
    func (sys *HTTPConsoleLoggerSys) HasLogListeners() bool {
    	return sys != nil && sys.pubsub.Subscribers() > 0
    }
    
    // Subscribe starts console logging for this node.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    		eventNames = append(eventNames, eventName)
    	}
    
    	rulesMap := event.NewRulesMap(eventNames, pattern, event.TargetID{ID: mustGetUUID()})
    
    	// Listen Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    	// Use buffered channel to take care of burst sends or slow w.Write()
    	ch := make(chan event.Event, globalAPIConfig.getRequestsPoolCapacity())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

       * @param subscriber The source subscriber context.
       * @param subscriberMethod the subscribed method.
       */
      SubscriberExceptionContext(
          EventBus eventBus, Object event, Object subscriber, Method subscriberMethod) {
        this.eventBus = checkNotNull(eventBus);
        this.event = checkNotNull(event);
        this.subscriber = checkNotNull(subscriber);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber;
    import java.util.ArrayList;
    import java.util.List;
    
    public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> {
      static class Subscriber {
        final List<Object> nonSubscriberEvents = new ArrayList<>();
        final List<Object> subscriberEvents = new ArrayList<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java

    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber;
    import java.util.ArrayList;
    import java.util.List;
    
    public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> {
      static class Subscriber {
        final List<Object> nonSubscriberEvents = new ArrayList<>();
        final List<Object> subscriberEvents = new ArrayList<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

      }
    
      public void testCreate() {
        Subscriber s1 = Subscriber.create(bus, this, getTestSubscriberMethod("recordingMethod"));
        assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class);
    
        // a thread-safe method should not create a synchronized subscriber
        Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod"));
        assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 15:46:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top