Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for shutdownAndAwaitTermination (0.25 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
    import static com.google.common.util.concurrent.MoreExecutors.renamingDecorator;
    import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

    import static com.google.common.util.concurrent.MoreExecutors.newDirectExecutorService;
    import static com.google.common.util.concurrent.MoreExecutors.renamingDecorator;
    import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination;
    import static java.util.concurrent.TimeUnit.DAYS;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.MINUTES;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       */
      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      public static boolean shutdownAndAwaitTermination(ExecutorService service, Duration timeout) {
        return shutdownAndAwaitTermination(service, toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
       * Shuts down the given executor service gradually, first disabling new submissions and later, if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top