Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 249 for task (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            return ArtifactUtils.versionlessKey(project.getGroupId(), project.getArtifactId());
        }
    
        public void registerBuildFailure(MavenProject project, Exception error, String task, long time) {
            buildFailuresByProject.put(getProjectKey(project), new BuildFailure(project, time, error));
        }
    
        public boolean hasBuildFailures() {
            return !buildFailuresByProject.isEmpty();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/MojosExecutionStrategy.java

         * Entry point to the execution strategy
         *
         * @param mojos             list of mojos representing a project build
         * @param session           current session
         * @param mojoExecutionRunner mojo execution task which must be invoked by a strategy to actually run it
         * @throws LifecycleExecutionException
         */
        void execute(List<MojoExecution> mojos, MavenSession session, MojoExecutionRunner mojoExecutionRunner)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java

     * ExecutionException}, the exception's {@linkplain #getCause() cause} comes from a failed task,
     * possibly run in another thread.
     *
     * <p>{@code UncheckedExecutionException} is intended as an alternative to {@code
     * ExecutionException} when the exception thrown by a task is an unchecked exception. However, it
     * may also wrap a checked exception in some cases.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        final CyclicBarrier firstBarrier = new CyclicBarrier(2);
        final CyclicBarrier secondBarrier = new CyclicBarrier(2);
        final AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                try {
                  if (shouldWait.get()) {
                    firstBarrier.await();
                    secondBarrier.await();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/CurlRequest.java

                    if (connection != null) {
                        connection.disconnect();
                    }
                }
            };
            if (threadPool != null) {
                threadPool.execute(task);
            } else {
                task.run();
            }
        }
    
        protected HttpURLConnection open(final URL u) throws IOException {
    Java
    - Registered: Thu May 09 15:34:10 GMT 2024
    - Last Modified: Sun Feb 12 12:21:25 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/DirectExecutor.java

     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.Executor;
    
    /**
     * An {@link Executor} that runs each task in the thread that invokes {@link Executor#execute
     * execute}.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    enum DirectExecutor implements Executor {
      INSTANCE;
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 05 22:27:35 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JdkFutureAdaptersTest.java

        assertFalse(listenableFuture.isDone());
    
        listenableFuture.addListener(singleCallListener, directExecutor());
        /*
         * Don't shut down until the listenInPoolThread task has been accepted to
         * run. We want to see what happens when it's interrupted, not when it's
         * rejected.
         */
        submitSuccessful.await();
        executorService.shutdownNow();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        assertThat(exceptions).isEmpty();
      }
    
      private static List<Throwable> runThreadsAndReturnExceptions(int numThreads, Runnable task) {
        List<Thread> threads = new ArrayList<>(numThreads);
        final List<Throwable> exceptions = new ArrayList<>(numThreads);
        for (int i = 0; i < numThreads; i++) {
          Thread thread = new Thread(task);
          thread.setUncaughtExceptionHandler(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        final CyclicBarrier firstBarrier = new CyclicBarrier(2);
        final CyclicBarrier secondBarrier = new CyclicBarrier(2);
        final AtomicBoolean shouldWait = new AtomicBoolean(true);
        Runnable task =
            new Runnable() {
              @Override
              public void run() {
                try {
                  if (shouldWait.get()) {
                    firstBarrier.await();
                    secondBarrier.await();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

              }
            });
      }
    
      private long doMultithreadedLoop(Callable<Long> task)
          throws InterruptedException, ExecutionException {
    
        List<Future<Long>> futures = Lists.newArrayListWithCapacity(threads);
        for (int i = 0; i < threads; i++) {
          futures.add(threadPool.submit(task));
        }
        long total = 0;
        for (Future<Long> future : futures) {
          total += future.get();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
Back to top