Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 993 for executeop (0.09 sec)

  1. okhttp/src/main/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)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
        for (int i = 0; i < threadCount; i++) {
          executor.execute(() -> {
            try {
              drainQueue();
            } catch (Exception e) {
              e.printStackTrace();
            }
          });
        }
        executor.shutdown();
      }
    
      private void drainQueue() throws Exception {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  3. docs/fr/docs/deployment/manually.md

    # Exécuter un serveur manuellement - Uvicorn
    
    La principale chose dont vous avez besoin pour exécuter une application **FastAPI** sur une machine serveur distante est un programme serveur ASGI tel que **Uvicorn**.
    
    Il existe 3 principales alternatives :
    
    * <a href="https://www.uvicorn.org/" class="external-link" target="_blank">Uvicorn</a> : un serveur ASGI haute performance.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

      }
    
      public void testTimeout() throws Exception {
        // Create a service whose executor will never run its commands
        Service service =
            new TestService() {
              @Override
              protected Executor executor() {
                return new Executor() {
                  @Override
                  public void execute(Runnable command) {}
                };
              }
    
              @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import org.apache.maven.execution.BuildResumptionAnalyzer;
    import org.apache.maven.execution.BuildResumptionDataRepository;
    import org.apache.maven.execution.BuildResumptionPersistenceException;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    import org.apache.maven.execution.ExecutionEvent;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionResult;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

                Defines a default phase to bind a Mojo execution to if the user does not explicitly set a phase in the POM.
                &lt;p>&lt;b>Note:&lt;/b> This will not automagically make a Mojo run when the plugin declaration is added
                to the POM. It merely enables the user to omit the {@code &lt;phase&gt;} element from the
                surrounding {@code &lt;execution&gt;} element.&lt;/p>
              </description>
            </field>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       *
       * @param callable the Callable to execute
       * @param timeoutDuration with timeoutUnit, the maximum length of time to wait
       * @param timeoutUnit with timeoutDuration, the maximum length of time to wait
       * @return the result returned by the Callable
       * @throws TimeoutException if the time limit is reached
       * @throws InterruptedException if the current thread was interrupted during execution
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

            }
          }
        }
      }
    
      /**
       * Checks if the executor has been shut down and increments the running task count.
       *
       * @throws RejectedExecutionException if the executor has been previously shutdown
       */
      private void startTask() {
        synchronized (lock) {
          if (shutdown) {
            throw new RejectedExecutionException("Executor already shutdown");
          }
          runningTasks++;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/eventbus/Subscriber.java

      private final Method method;
    
      /** Executor to use for dispatching events to this subscriber. */
      private final Executor executor;
    
      private Subscriber(EventBus bus, Object target, Method method) {
        this.bus = bus;
        this.target = checkNotNull(target);
        this.method = method;
        method.setAccessible(true);
    
        this.executor = bus.executor();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.ExecutionListener;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequestPopulator;
    import org.apache.maven.execution.MavenExecutionResult;
    import org.apache.maven.execution.ProfileActivation;
    import org.apache.maven.execution.ProjectActivation;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top