- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AsyncCallable (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* callable} or a callable that has begun to execute, but if the output future is cancelled before * {@link AsyncCallable#call()} is invoked, {@link AsyncCallable#call()} will not be invoked. */ public <T extends @Nullable Object> ListenableFuture<T> submitAsync( AsyncCallable<T> callable, Executor executor) { checkNotNull(callable); checkNotNull(executor);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
WeakReference<Object> ref = new WeakReference<>(toBeGCed); SettableFuture<@Nullable Void> settableFuture = SettableFuture.create(); ListenableFuture<?> ignored = serializer.submitAsync( new AsyncCallable<@Nullable Void>() { @Override public ListenableFuture<@Nullable Void> call() { return settableFuture; } }, directExecutor());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 16.1K bytes - Viewed (0)