Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,081 for executors (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @param listener the listener to run when the manager changes state
       * @param executor the executor in which the listeners callback methods will be run.
       */
      public void addListener(Listener listener, Executor executor) {
        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:41:16 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        server.enqueue(MockResponse(body = "A"))
        server.enqueue(MockResponse(body = "A"))
        val executor = Executors.newCachedThreadPool(threadFactory("HttpOverHttp2Test"))
        val countDownLatch = CountDownLatch(2)
        executor.execute(AsyncRequest("/r1", countDownLatch))
        executor.execute(AsyncRequest("/r2", countDownLatch))
        countDownLatch.await()
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        }
        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
      // is closed using the direct executor.
      public void testCloseThrowsRejectedExecutionException() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *   <li>All threads generated must be joined inside each test case method (or {@code fail} to do
     *       so) before returning from the method. The {@code joinPool} method can be used to do this
     *       when using Executors.
     * </ol>
     *
     * <p><b>Other notes</b>
     *
     * <ul>
     *   <li>Usually, there is one testcase method per JSR166 method covering "normal" operation, and
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        }
        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
      // is closed using the direct executor.
      public void testCloseThrowsRejectedExecutionException() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

         */
        GradleDistribution getDistribution();
    
        /**
         * Copies the settings from this executer to the given executer.
         *
         * @param executer The executer to copy to
         * @return The passed in executer
         */
        GradleExecuter copyTo(GradleExecuter executer);
    
        /**
         * Where possible, starts the Gradle build process in debug mode with the provided options.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. maven-core/lifecycle-executor.txt

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <goals>
              <goal>process</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      .
      .
      .
    </plugins>
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jul 18 17:22:19 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

            .body("def")
            .throttleBody(1, 750, TimeUnit.MILLISECONDS)
            .build(),
        )
        val call = client.newCall(Request(server.url("/a")))
        val executor = Executors.newSingleThreadExecutor()
        val result = executor.submit<Response?> { call.execute() }
        Thread.sleep(100) // wait for it to go in flight.
        call.cancel()
        assertFailsWith<IOException> {
          result.get()!!.body.bytes()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top