Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 721 for executer (0.15 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                dependency.setVersion("1.2.3");
                dependency.setScope("system");
                try {
                    dependency.setSystemPath(new File(
                                    "src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/pom.xml")
                            .getCanonicalPath());
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/cache/CacheLoader.java

       * CacheLoader#reload} using {@code executor}.
       *
       * <p>This method is useful only when {@code loader.reload} has a synchronous implementation, such
       * as {@linkplain #reload the default implementation}.
       *
       * @since 17.0
       */
      @GwtIncompatible // Executor + Futures
      public static <K, V> CacheLoader<K, V> asyncReloading(
          CacheLoader<K, V> loader, Executor executor) {
        checkNotNull(loader);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
        AsyncTransformFuture<I, O> output = new AsyncTransformFuture<>(input, function);
        input.addListener(output, rejectionPropagatingExecutor(executor, output));
        return output;
      }
    
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> create(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
         * Executes the behavior defined by this {@code Mojo}. This method is invoked
         * during the Maven build lifecycle to perform the Mojo's designated task.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 29 08:21:00 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

     *
     * <p>This class provides the same functionality as StrategyOrchestrator but works
     * with domtrip-based strategies for superior formatting preservation.
     *
     * <p>Determines which strategies to apply based on options and executes them in priority order.
     * The DI container automatically sorts the injected strategies by their @Priority annotations.
     */
    @Named("strategy-orchestrator")
    @Singleton
    public class StrategyOrchestrator {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

              public void onFailure(Throwable t) {}
            };
        addCallback(f, callback, directExecutor());
      }
    
      private class CountingSameThreadExecutor implements Executor {
        int runCount = 0;
    
        @Override
        public void execute(Runnable command) {
          command.run();
          runCount++;
        }
      }
    
      private final class MockCallback implements FutureCallback<String> {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
      private static class TestListeningExecutorService extends AbstractListeningExecutorService {
    
        @Override
        public void execute(Runnable runnable) {
          assertThat(runnable).isInstanceOf(TrustedListenableFutureTask.class);
          runnable.run();
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

     *
     * All event methods must execute fast, without external locking, cannot throw exceptions, attempt
     * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files
     * or network should be done asynchronously.
     */
    abstract class EventListener {
      /**
       * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

        @Nested
        @DisplayName("Strategy Ordering")
        class StrategyOrderingTests {
    
            @Test
            @DisplayName("should execute strategies in priority order")
            void shouldExecuteStrategiesInPriorityOrder() throws Exception {
                // This test verifies that strategies are executed in the order they are provided
                // The actual priority ordering is handled by dependency injection
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java

        Preconditions.checkNotNull(unit, "unit must not be null!");
        return delegate.invokeAny(tasks, timeout, unit);
      }
    
      @Override
      public void execute(Runnable command) {
        Preconditions.checkNotNull(command, "command must not be null!");
        delegate.execute(command);
      }
    
      @Override
      public ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 6.5K bytes
    - Click Count (0)
Back to Top