- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for simultaneously (0.24 sec)
-
android/guava/src/com/google/common/eventbus/AllowConcurrentEvents.java
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. * * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}. * * @author Cliff Biffle * @since 10.0 */ @Retention(RetentionPolicy.RUNTIME)
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 1.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 10 14:11:51 GMT 2023 - 7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/PreconditionsTest.java
@GwtIncompatible // NullPointerTester public void testNullPointers() { /* * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or * even entire message) that simultaneously: * * - _shouldn't_ be null, so we don't annotate it with @Nullable * * - _can_ be null without causing a runtime failure (because we don't want the interesting
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/EventBus.java
* is intended solely to help find problems during development. * * <p>The EventBus guarantees that it will not call a subscriber method from multiple threads * simultaneously, unless the method explicitly allows it by bearing the {@link * AllowConcurrentEvents} annotation. If this annotation is not present, subscriber methods need not
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Aug 25 16:37:57 GMT 2021 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/PreconditionsTest.java
@GwtIncompatible // NullPointerTester public void testNullPointers() { /* * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or * even entire message) that simultaneously: * * - _shouldn't_ be null, so we don't annotate it with @Nullable * * - _can_ be null without causing a runtime failure (because we don't want the interesting
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 19.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// this can be safely acquired after the acquiredLock. // // Note that there is a race condition here which can result in missing // a cyclic edge: it's possible for two threads to simultaneous find // "safe" edges which together form a cycle. Preventing this race // condition efficiently without _introducing_ deadlock is probably
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
cache.put(key, "1"); // simultaneous update for same key, some null, some non-null doParallelCacheOp( count, n -> { cache.asMap().compute(key, (k, v) -> n % 2 == 0 ? v + delimiter + n : null); }); assertTrue(1 >= cache.size()); } public void testCompute() { cache.put(key, "1"); // simultaneous deletion doParallelCacheOp( count,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 6.3K bytes - Viewed (0)