Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newScheduledThreadPool (0.49 sec)

  1. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * the application is complete. It does so by using daemon threads and adding a shutdown hook to
       * wait for their completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newScheduledThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 43.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * the application is complete. It does so by using daemon threads and adding a shutdown hook to
       * wait for their completion.
       *
       * <p>This is mainly for fixed thread pools. See {@link Executors#newScheduledThreadPool(int)}.
       *
       * @param executor the executor to modify to make sure it exits when the application is finished
       * @param terminationTimeout how long to wait for the executor to finish before terminating the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 15 10:40:05 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        static TestCondition createAndSignalAfter(long delay, TimeUnit unit) {
          final TestCondition testCondition = create();
    
          ScheduledExecutorService scheduledPool = Executors.newScheduledThreadPool(1);
          // If signal() fails somehow, we should see a failed test, even without looking at the Future.
          Future<?> unused =
              scheduledPool.schedule(
                  new Runnable() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top