- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for SynchronizedSubscriber (0.07 seconds)
-
android/guava/src/com/google/common/eventbus/Subscriber.java
/** * Subscriber that synchronizes invocations of a method to ensure that only one thread may enter * the method at a time. */ @VisibleForTesting static final class SynchronizedSubscriber extends Subscriber { private SynchronizedSubscriber(EventBus bus, Object target, Method method) { super(bus, target, method); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class); // a thread-safe method should not create a synchronized subscriber Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod")); assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class); } public void testInvokeSubscriberMethod_basicMethodCall() throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java
assertThat(s1).isInstanceOf(Subscriber.SynchronizedSubscriber.class); // a thread-safe method should not create a synchronized subscriber Subscriber s2 = Subscriber.create(bus, this, getTestSubscriberMethod("threadSafeMethod")); assertThat(s2).isNotInstanceOf(Subscriber.SynchronizedSubscriber.class); } public void testInvokeSubscriberMethod_basicMethodCall() throws Throwable {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0)