- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for EventBus (0.03 sec)
-
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) -
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) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.1K bytes - Viewed (0) -
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) -
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) -
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) -
guava/src/com/google/common/eventbus/AllowConcurrentEvents.java
* 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 an event subscriber method as being thread-safe. This annotation indicates that EventBus * may invoke the event subscriber simultaneously from multiple threads. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
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) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
*/ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers = Maps.newConcurrentMap(); /** The event bus this registry belongs to. */ @Weak private final EventBus bus; SubscriberRegistry(EventBus bus) { this.bus = checkNotNull(bus); } /** Registers all subscriber methods on the given listener object. */ void register(Object listener) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0)