Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for eventOut (0.12 sec)

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

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import java.util.concurrent.Executor;
    
    /**
     * An {@link EventBus} that takes the Executor of your choice and uses it to dispatch events,
     * allowing dispatch to occur asynchronously.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @ElementTypesAreNonnullByDefault
    public class AsyncEventBus extends EventBus {
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import com.google.common.eventbus.EventBus;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K 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 EventBus bus;
    
      /** The object with the subscriber method. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.AbstractNotAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2K bytes
    - Viewed (0)
  6. 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 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.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java

     * limitations under the License.
     */
    
    package com.google.common.eventbus.outside;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.Lists;
    import com.google.common.eventbus.Subscribe;
    import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass;
    import java.util.List;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 08 21:35:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Dispatcher} implementations.
     *
     * @author Colin Decker
     */
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 15:41:25 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/DeadEvent.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import com.google.common.base.MoreObjects;
    
    /**
     * Wraps an event that was posted, but which had no subscribers and thus could not be delivered.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.eventbus;
    
    import com.google.common.collect.Lists;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Validate that {@link EventBus} behaves carefully when listeners publish their own events.
     *
     * @author Jesse Wilson
     */
    public class ReentrantEventsTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.5K bytes
    - Viewed (0)
Back to top