- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for ListenableScheduledFuture (0.15 seconds)
-
guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java
} private static class ImmediateScheduledFuture<V> extends SimpleForwardingListenableFuture<V> implements ListenableScheduledFuture<V> { static <V> ListenableScheduledFuture<V> of(V value) { return new ImmediateScheduledFuture<>(immediateFuture(value)); } static <V> ListenableScheduledFuture<V> failed(Throwable t) { return new ImmediateScheduledFuture<>(immediateFailedFuture(t)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 6.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
ScheduledListeningDecorator(ScheduledExecutorService delegate) { super(delegate); this.delegate = checkNotNull(delegate); } @Override public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { TrustedListenableFutureTask<@Nullable Void> task = TrustedListenableFutureTask.create(command, null);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
*/ @J2ktIncompatible @GwtIncompatible // java.util.concurrent.ScheduledExecutorService @IgnoreJRERequirement // Users will use this only if they're already using Duration. // TODO(cpovirk): Return ListenableScheduledFuture? public static <O extends @Nullable Object> ListenableFuture<O> scheduleAsync( AsyncCallable<O> callable, Duration delay, ScheduledExecutorService executorService) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0)