Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AsyncEventBus (0.04 sec)

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

     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    public class AsyncEventBus extends EventBus {
    
      /**
       * Creates a new AsyncEventBus that will use {@code executor} to dispatch events. Assigns {@code
       * identifier} as the bus's name for logging purposes.
       *
    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. android/guava/src/com/google/common/eventbus/Dispatcher.java

        return new PerThreadQueuedDispatcher();
      }
    
      /**
       * Returns a dispatcher that queues events that are posted in a single global queue. This behavior
       * matches the original behavior of AsyncEventBus exactly, but is otherwise not especially useful.
       * For async dispatch, an {@linkplain #immediate() immediate} dispatcher should generally be
       * preferable.
       */
      static Dispatcher legacyAsync() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/EventBus.java

     * subscribers should be reasonably quick. If an event may trigger an extended process (such as a
     * database load), spawn a thread or queue it for later. (For a convenient way to do this, use an
     * {@link AsyncEventBus}.)
     *
     * <h2>Subscriber Methods</h2>
     *
     * <p>Event subscriber methods must accept only one argument: the event.
     *
     * <p>Subscribers should not, in general, throw. If they do, the EventBus will catch and log the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top