Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 231 for executed (0.27 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

        }
    
        eventListener.canceled(this)
      }
    
      override fun isCanceled(): Boolean = canceled
    
      override fun execute(): Response {
        check(executed.compareAndSet(false, true)) { "Already Executed" }
    
        timeout.enter()
        callStart()
        try {
          client.dispatcher.executed(this)
          return getResponseWithInterceptorChain()
        } finally {
          client.dispatcher.finished(this)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  2. 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)
  3. docs/en/docs/advanced/events.md

    You can define logic (code) that should be executed before the application **starts up**. This means that this code will be executed **once**, **before** the application **starts receiving requests**.
    
    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

    /**
     * Policy on when async requests are executed.
     *
     * Each dispatcher uses an [ExecutorService] to run calls internally. If you supply your own
     * executor, it should be able to run [the configured maximum][maxRequests] number of calls
     * concurrently.
     */
    class Dispatcher() {
      internal val lock: ReentrantLock = ReentrantLock()
    
      /**
       * The maximum number of requests to execute concurrently. Above this requests queue in memory,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java

         * does your mojo requires a project to be executed?
         * @return requires a project
         */
        boolean projectRequired() default true;
    
        /**
         * if the Mojo uses the Maven project and its child modules.
         * @return uses the Maven project and its child modules
         */
        boolean aggregator() default false;
    
        /**
         * does this Mojo need to be online to be executed?
         * @return need to be online
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * calls to {@link Executor#execute `execute()`} that submitted those tasks had.
       *
       * <p>The executor uses {@code delegate} in order to {@link Executor#execute execute} each task in
       * turn, and does not create any threads of its own.
       *
       * <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      /** Guarded by [TaskRunner.lock]. */
      private var activeThreads = 0
    
      /** A task runner that posts tasks to this fake. Tasks won't be executed until requested. */
      val taskRunner: TaskRunner =
        TaskRunner(
          object : TaskRunner.Backend {
            override fun execute(
              taskRunner: TaskRunner,
              runnable: Runnable,
            ) {
              taskRunner.assertThreadHoldsLock()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    * Any program, any code, **can only do things** when it is being **executed**. So, when there's a **process running**.
    * The process can be **terminated** (or "killed") by you, or by the operating system. At that point, it stops running/being executed, and it can **no longer do things**.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

    * All of them will include the predefined `responses`.
    * All these *path operations* will have the list of `dependencies` evaluated/executed before them.
        * If you also declare dependencies in a specific *path operation*, **they will be executed too**.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        call.enqueue(callback)
        assertFailsWith<IllegalStateException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Already Executed")
        }
        assertFailsWith<IllegalStateException> {
          call.enqueue(callback)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Already Executed")
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top