Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for eventbus (0.04 sec)

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

        this.eventBus = checkNotNull(eventBus);
        this.event = checkNotNull(event);
        this.subscriber = checkNotNull(subscriber);
        this.subscriberMethod = checkNotNull(subscriberMethod);
      }
    
      /**
       * Returns the {@link EventBus} that handled the event and the subscriber. Useful for broadcasting
       * a new event based on the error.
       */
      public EventBus getEventBus() {
        return eventBus;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 17:06:34 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.collect.Lists;
    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    @NullUnmarked
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/package-info.java

     * the License.
     */
    
    /**
     * {@linkplain EventBus Discouraged} in favor of dependency injection and concurrency frameworks,
     * EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.eventbus;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 19:02:39 UTC 2025
    - 1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/eventbus/Subscriber.java

      static Subscriber create(EventBus bus, Object listener, Method method) {
        return isDeclaredThreadSafe(method)
            ? new Subscriber(bus, listener, method)
            : new SynchronizedSubscriber(bus, listener, method);
      }
    
      /** The event bus this subscriber belongs to. */
      @Weak private final EventBus bus;
    
      /** The object with the subscriber method. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/eventbus/package-info.java

     * the License.
     */
    
    /**
     * {@linkplain EventBus Discouraged} in favor of dependency injection and concurrency frameworks,
     * EventBus allows publish-subscribe-style communication.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/EventBusExplained">{@code EventBus}</a>.
     */
    @CheckReturnValue
    @NullMarked
    package com.google.common.eventbus;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jan 03 19:02:39 UTC 2025
    - 1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass;
    import java.util.ArrayList;
    import java.util.List;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/eventbus/SubscriberExceptionHandler.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.eventbus;
    
    /**
     * Handler for exceptions thrown by event subscribers.
     *
     * @since 16.0
     */
    public interface SubscriberExceptionHandler {
      /** Handles exceptions thrown by subscribers. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 894 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Subscribe.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.errorprone.annotations.Keep;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 15:46:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass;
    import java.util.ArrayList;
    import java.util.List;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

    /**
     * Tests for {@link Dispatcher} implementations.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public class DispatcherTest extends TestCase {
    
      private final EventBus bus = new EventBus();
    
      private final IntegerSubscriber i1 = new IntegerSubscriber("i1");
      private final IntegerSubscriber i2 = new IntegerSubscriber("i2");
      private final IntegerSubscriber i3 = new IntegerSubscriber("i3");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top