- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DeadEvent (0.06 sec)
-
android/guava/src/com/google/common/eventbus/DeadEvent.java
* * <p>Registering a DeadEvent subscriber is useful for debugging or logging, as it can detect * misconfigurations in a system's event distribution. * * @author Cliff Biffle * @since 10.0 */ public class DeadEvent { private final Object source; private final Object event; /** * Creates a new DeadEvent. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
GhostCatcher catcher = new GhostCatcher(); bus.register(catcher); bus.post(new DeadEvent(this, EVENT)); List<DeadEvent> events = catcher.getEvents(); assertEquals("The explicit DeadEvent should be delivered.", 1, events.size()); assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent()); } public void testMissingSubscribe() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* {@link DeadEvent} and reposted. * * <p>If a subscriber for a supertype of all events (such as Object) is registered, no event will * ever be considered dead, and no DeadEvents will be generated. Accordingly, while DeadEvent * extends {@link Object}, a subscriber registered to receive any Object will never receive a * DeadEvent. * * <p>This class is safe for concurrent use. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0)