public static ThreadFactory newThreadFactory(String threadNamePrefix, boolean daemon) {
        return builder(threadNamePrefix).daemon(daemon).build();
    }
Creates a new {@link ThreadFactory} for non event loop thread.
This is a shortcut method of {@code ThreadFactories.builder("threadNamePrefix").daemon(daemon).build()}.

@param threadNamePrefix the prefix of the names of the threads created by this factory.
@param daemon whether to create a daemon thread.
core/src/main/java/com/linecorp/armeria/common/util/ThreadFactories.java