Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for RunnableFuture (0.3 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/AbstractConditionalExecution.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.FutureTask;
    import java.util.concurrent.RunnableFuture;
    
    public abstract class AbstractConditionalExecution<T> implements ConditionalExecution<T> {
        private final CountDownLatch finished = new CountDownLatch(1);
        private final RunnableFuture<T> runnable;
    
        public AbstractConditionalExecution(final Callable<T> callable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        TestListeningExecutorService e = new TestListeningExecutorService();
    
        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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        TestListeningExecutorService e = new TestListeningExecutorService();
    
        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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    import com.google.errorprone.annotations.CheckReturnValue;
    import java.util.concurrent.AbstractExecutorService;
    import java.util.concurrent.Callable;
    import java.util.concurrent.RunnableFuture;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

    import com.google.errorprone.annotations.CheckReturnValue;
    import java.util.concurrent.AbstractExecutorService;
    import java.util.concurrent.Callable;
    import java.util.concurrent.RunnableFuture;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.util.concurrent.Callable;
    import java.util.concurrent.Executors;
    import java.util.concurrent.RunnableFuture;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface.
     *
     * <p>This should be used in preference to {@link ListenableFutureTask} when possible for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.util.concurrent.Callable;
    import java.util.concurrent.Executors;
    import java.util.concurrent.RunnableFuture;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface.
     *
     * <p>This should be used in preference to {@link ListenableFutureTask} when possible for
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 5.6K bytes
    - Viewed (0)
Back to top