- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 213 for AddListener (0.48 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
// For each listener we add a task that submits it to the executor directly for the blocking // get use case and another task that adds it as a listener to the future to exercise both // racing addListener calls and addListener calls completing after the future completes. final Runnable listener = k % 2 == 0 ? collectResultsRunnable : collectResultsTimedGetRunnable; allTasks.add(Executors.callable(listener));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 46.7K bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java
subscriptions.put(listenerProvider, subscription); for (Object listener : subscription.getListeners()) { listenerManager.addListener(listener); if (listener instanceof BuildOperationListener) { buildOperationListenerManager.addListener((BuildOperationListener) listener); } } } private void processIfBuildService(Provider<?> listenerProvider) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 19:34:01 UTC 2024 - 12.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/DefaultCrossBuildInMemoryCacheFactory.java
listenerManager.addListener(cache); return cache; } @Override public <K, V> CrossBuildInMemoryCache<K, V> newCacheRetainingDataFromPreviousBuild(Predicate<V> retentionFilter) { CrossBuildCacheRetainingDataFromPreviousBuild<K, V> cache = new CrossBuildCacheRetainingDataFromPreviousBuild<>(retentionFilter); listenerManager.addListener(cache); return cache; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 11 20:23:28 UTC 2021 - 10.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/VirtualFileSystemServices.java
writeListener, statisticsCollector, DirectoryScanner.getDefaultExcludes() ); listenerManager.addListener(buildSessionsScopedVirtualFileSystem); listenerManager.addListener((OutputChangeListener) buildSessionsScopedVirtualFileSystem::invalidate); return buildSessionsScopedVirtualFileSystem; } @Provides
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 20.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get * methods and the addListener method. * * @author Sven Mawson * @since 10.0 */ @GwtIncompatible public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
protected ForwardingListenableFuture() {} @Override protected abstract ListenableFuture<? extends V> delegate(); @Override public void addListener(Runnable listener, Executor exec) { delegate().addListener(listener, exec); } // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 04 12:23:41 UTC 2022 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get * methods and the addListener method. * * @author Sven Mawson * @since 10.0 */ @GwtIncompatible public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 18:30:30 UTC 2023 - 6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FluentFuture.java
} @Override public final boolean isCancelled() { return super.isCancelled(); } @Override public final void addListener(Runnable listener, Executor executor) { super.addListener(listener, executor); } @CanIgnoreReturnValue @Override public final boolean cancel(boolean mayInterruptIfRunning) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 11 19:08:44 UTC 2023 - 19.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt
writingState.append(fingerprint) } } private fun addListener(listener: ConfigurationCacheFingerprintWriter) { listenerManager.addListener(listener) workInputListeners.addListener(listener) scriptFileResolverListeners.addListener(listener) } private fun removeListener(listener: ConfigurationCacheFingerprintWriter) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 18.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeoutFuture.java
delegate.addListener(fire, directExecutor()); return result; } /* * Memory visibility of these fields. There are two cases to consider. * * 1. visibility of the writes to these fields to Fire.run: * * The initial write to delegateRef is made definitely visible via the semantics of
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 7.7K bytes - Viewed (0)