Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Completion (0.19 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      /**
       * Wrapper around {@link Stopwatch} which also contains an "expected completion time." Creating a
       * {@code Completion} starts the underlying stopwatch.
       */
      private static final class Completion {
        final Stopwatch stopwatch;
        final long expectedCompletionWaitMillis;
    
        Completion(long expectedCompletionWaitMillis) {
          this.expectedCompletionWaitMillis = expectedCompletionWaitMillis;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 30.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

      /**
       * Converts the given ThreadPoolExecutor into an ExecutorService that exits when the application
       * is complete. It does so by using daemon threads and adding a shutdown hook to wait for their
       * completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newFixedThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      }
    
      /**
       * Wrapper around {@link Stopwatch} which also contains an "expected completion time." Creating a
       * {@code Completion} starts the underlying stopwatch.
       */
      private static final class Completion {
        final Stopwatch stopwatch;
        final long expectedCompletionWaitMillis;
    
        Completion(long expectedCompletionWaitMillis) {
          this.expectedCompletionWaitMillis = expectedCompletionWaitMillis;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 31.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

      /**
       * @return a {@code ListenableFuture} representing pending completion of the task
       * @throws RejectedExecutionException {@inheritDoc}
       */
      @Override
      <T extends @Nullable Object> ListenableFuture<T> submit(Callable<T> task);
    
      /**
       * @return a {@code ListenableFuture} representing pending completion of the task
       * @throws RejectedExecutionException {@inheritDoc}
       */
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 10:45:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
       *     result, consider using constructions of the form: {@code ListenableFuture<?> f =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

    import org.apache.maven.plugin.MojoExecution;
    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.project.MavenProject;
    
    /**
     * <p>
     * Wraps individual MojoExecutions, containing information about completion status and scheduling.
     * </p>
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public class ExecutionPlanItem {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java

       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
       *     result, consider using constructions of the form: {@code ListenableFuture<?> f =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * {@code schedule}, {@code scheduleAtFixedRate}, and {@code scheduleWithFixedDelay}. In the case
       * of tasks submitted by {@code invokeAll} or {@code invokeAny}, tasks will run serially on the
       * calling thread. Tasks are run to completion before a {@code Future} is returned to the caller
       * (unless the executor has been shutdown).
       *
       * <p>The returned executor is backed by the executor returned by {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      //
      // * Be responsive to interruption
      // * Don't create Waiter nodes if you aren't going to park, this helps reduce contention on the
      //   waiters field.
      // * Future completion is defined by when #value becomes non-null/non SetFuture
      // * Future completion can be observed if the waiters field contains a TOMBSTONE
    
      // Timed Get
      // There are a few design constraints to consider
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

                // Since the value of oldFuture can only ever be immediateFuture(null) or setFuture of
                // a future that eventually came from immediateFuture(null), this doesn't leak
                // throwables or completion values.
                newFuture.setFuture(oldFuture);
              } else if (outputFuture.isCancelled() && taskExecutor.trySetCancelled()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top