- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AsyncCallable (0.27 sec)
-
guava/src/com/google/common/util/concurrent/AsyncCallable.java
* Futures.FutureCombiner#callAsync(AsyncCallable, java.util.concurrent.Executor)}. * * <p>Much like {@link java.util.concurrent.Callable}, but returning a {@link ListenableFuture} * result. * * @since 20.0 */ @FunctionalInterface @GwtCompatible public interface AsyncCallable<V extends @Nullable Object> { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java
@Override public String call() throws Exception { return expected; } }; AsyncCallable<String> asyncCallable = Callables.asAsyncCallable(callable, newDirectExecutorService()); ListenableFuture<String> future = asyncCallable.call(); assertSame(expected, future.get()); } @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
} } @WeakOuter private final class TrustedFutureInterruptibleAsyncTask extends InterruptibleTask<ListenableFuture<V>> { private final AsyncCallable<V> callable; TrustedFutureInterruptibleAsyncTask(AsyncCallable<V> callable) { this.callable = checkNotNull(callable); } @Override final boolean isDone() { return TrustedListenableFutureTask.this.isDone();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 5.5K bytes - Viewed (0)