Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ThreadFactoryBuilder (0.15 sec)

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

     * instead of {@code new ThreadFactoryBuilder().setPriority(priority).setDaemon(false).build()}, use
     * {@code Thread.ofPlatform().priority(priority).daemon(false).factory()}.
     *
     * @author Kurt Alfred Kluever
     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ThreadFactoryBuilder {
      @CheckForNull private String nameFormat = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 14 22:50:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/MoreExecutors.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // TODO
      private static void useDaemonThreadFactory(ThreadPoolExecutor executor) {
        executor.setThreadFactory(
            new ThreadFactoryBuilder()
                .setDaemon(true)
                .setThreadFactory(executor.getThreadFactory())
                .build());
      }
    
      /**
    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