Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 248 for Executar (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            }
    
            void execute() {
                try (var phase = executor.phase()) {
                    plan();
                    executePlan();
                } catch (Exception e) {
                    session.getResult().addException(e);
                }
            }
    
            @Override
            public void close() {
                this.executor.close();
            }
    
            /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/eventbus/Dispatcher.java

     * make sense for different situations.
     *
     * <p><b>Note:</b> The dispatcher is orthogonal to the subscriber's {@code Executor}. The dispatcher
     * controls the order in which events are dispatched, while the executor controls how (i.e. on which
     * thread) the subscriber is actually called when an event is dispatched to it.
     *
     * @author Colin Decker
     */
    abstract class Dispatcher {
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        override fun <T> decorate(queue: BlockingQueue<T>) = queue
    
        override fun execute(
          taskRunner: TaskRunner,
          runnable: Runnable,
        ) {
          executor.execute(runnable)
        }
    
        fun shutdown() {
          executor.shutdown()
        }
      }
    
      companion object {
        val logger: Logger = Logger.getLogger(TaskRunner::class.java.name)
    
        @JvmField
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Aug 30 11:30:11 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    ## Dependencias con `yield` y `HTTPException` { #dependencies-with-yield-and-httpexception }
    
    Viste que puedes usar dependencias con `yield` y tener bloques `try` que intentan ejecutar algo de código y luego ejecutar código de salida después de `finally`.
    
    También puedes usar `except` para capturar la excepción que se lanzó y hacer algo con ella.
    
    Por ejemplo, puedes lanzar una excepción diferente, como `HTTPException`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.util.concurrent.TestExceptions.SomeError;
    import java.util.concurrent.CancellationException;
    import java.util.concurrent.Executor;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Test for {@link FutureCallback}.
     *
     * @author Anthony Zana
     */
    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. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            int sessionCount = 10;
            ExecutorService executor = Executors.newFixedThreadPool(5);
            CountDownLatch latch = new CountDownLatch(sessionCount);
    
            for (int i = 0; i < sessionCount; i++) {
                final int sessionIndex = i;
                executor.submit(() -> {
                    try {
                        String sessionId = "concurrent-session-" + sessionIndex;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link ExecutionList}.
     *
     * @author Nishant Thakkar
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AsyncFunction.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Transforms a value, possibly asynchronously. For an example usage and more information, see
     * {@link Futures#transformAsync(ListenableFuture, AsyncFunction, Executor)}.
     *
     * @author Chris Povirk
     * @since 11.0
     */
    @GwtCompatible
    public interface AsyncFunction<I extends @Nullable Object, O extends @Nullable Object> {
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import java.util.concurrent.FutureTask;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import org.jspecify.annotations.Nullable;
    
    /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
Back to Top