Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 872 for execute (0.18 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
         */
        @Nonnull
        String phase() default "";
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          final Runnable runnable;
          final Executor executor;
    
          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
    
          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

          final Runnable runnable;
          final Executor executor;
    
          RunnableExecutorPair(Runnable runnable, Executor executor) {
            this.runnable = runnable;
            this.executor = executor;
          }
    
          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

     * guaranteed to execute. There is no guarantee, however, that listeners will be executed in the
     * order that they are added.
     *
     * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
     * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        Runnable execute =
            new Runnable() {
              @Override
              public void run() {
                list.execute();
              }
            };
        Thread thread1 = new Thread(execute);
        Thread thread2 = new Thread(execute);
        thread1.start();
        thread2.start();
        assertEquals(0, runCalled.get());
        okayToRun.countDown();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                  }
                }
              };
          executor.execute(errorTask);
          service.execute(barrierTask); // submit directly to the service
          // the barrier task runs after the error task so we know that the error has been observed by
          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        @CheckForNull Executor delegate;
    
        /**
         * Set before calling delegate.execute(); set to null once run, so that it can be GCed; this
         * object may live on after, if submitAsync returns an incomplete future.
         */
        @CheckForNull Runnable task;
    
        /** Thread that called execute(). Set in execute, cleared when delegate.execute() returns. */
        @CheckForNull @LazyInit Thread submitting;
    
    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)
  8. maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

        }
    
        public void execute(final MavenSession session, final List<MojoExecution> mojoExecutions)
                throws LifecycleExecutionException {
    
            final DependencyContext dependencyContext = newDependencyContext(session, mojoExecutions);
    
            final PhaseRecorder phaseRecorder = new PhaseRecorder(session.getCurrentProject());
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                  }
                }
              };
          executor.execute(errorTask);
          service.execute(barrierTask); // submit directly to the service
          // the barrier task runs after the error task so we know that the error has been observed by
          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

                runCalled.getAndIncrement();
              }
            },
            directExecutor());
        Runnable execute =
            new Runnable() {
              @Override
              public void run() {
                list.execute();
              }
            };
        Thread thread1 = new Thread(execute);
        Thread thread2 = new Thread(execute);
        thread1.start();
        thread2.start();
        assertEquals(0, runCalled.get());
        okayToRun.countDown();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 4.7K bytes
    - Viewed (0)
Back to top