Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for useDaemonThreadFactory (0.12 sec)

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

      @VisibleForTesting
      static class Application {
    
        final ExecutorService getExitingExecutorService(
            ThreadPoolExecutor executor, long terminationTimeout, TimeUnit timeUnit) {
          useDaemonThreadFactory(executor);
          ExecutorService service = Executors.unconfigurableExecutorService(executor);
          addDelayedShutdownHook(executor, terminationTimeout, timeUnit);
          return service;
        }
    
    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