- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 82 for listenablefuture (0.09 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable); assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture.isDone()); assertTrue(runnable.run); ListenableFuture<String> callableFuture = e.submit(new TestCallable());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { outputFuture = SettableFuture.create(); funcIsWaitingLatch = new CountDownLatch(1); funcCompletionLatch = new CountDownLatch(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java
private CountDownLatch funcIsWaitingLatch; // Signals the function so it will complete private CountDownLatch funcCompletionLatch; @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { outputFuture = SettableFuture.create(); funcIsWaitingLatch = new CountDownLatch(1); funcCompletionLatch = new CountDownLatch(1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 6.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.collect.Maps; import com.google.common.util.concurrent.ListenableFuture; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import org.checkerframework.checker.nullness.qual.Nullable; /** * Utility {@link CacheLoader} implementations intended for use in testing.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SettableFuture.java
import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any * other {@code Future}, be {@linkplain #cancel cancelled}. * * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java
* * <h3>Extension</h3> * * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that * forwards to that future and adds the desired methods. */ @GwtCompatible @ElementTypesAreNonnullByDefault
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 05 22:27:35 UTC 2021 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FluentFuture.java
} FluentFuture() {} /** * Converts the given {@code ListenableFuture} to an equivalent {@code FluentFuture}. * * <p>If the given {@code ListenableFuture} is already a {@code FluentFuture}, it is returned * directly. If not, it is wrapped in a {@code FluentFuture} that delegates all calls to the * original {@code ListenableFuture}. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 19.6K bytes - Viewed (0) -
guava/module.json
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Sep 23 17:17:08 UTC 2024 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
@J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault final class TimeoutFuture<V extends @Nullable Object> extends FluentFuture.TrustedFuture<V> { static <V extends @Nullable Object> ListenableFuture<V> create( ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 13:13:32 UTC 2024 - 8.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java
new UndeclaredThrowableException(EXCEPTION); @Override protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) { return transform(inputFuture, new ComposeFunction(), directExecutor()); } @Override protected String getSuccessfulResult() { return RESULT_DATA; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 28 16:27:15 UTC 2018 - 1.9K bytes - Viewed (0)