public static EventLoopGroup newEventLoopGroup(int numThreads, String threadNamePrefix,
                                                   boolean useDaemonThreads) {

        checkArgument(numThreads > 0, "numThreads: %s (expected: > 0)", numThreads);
        requireNonNull(threadNamePrefix, "threadNamePrefix");

        final TransportType type = Flags.transportType();
        final String prefix = threadNamePrefix + '-' + type.lowerCasedName();
        return newEventLoopGroup(numThreads, ThreadFactories.newEventLoopThreadFactory(prefix,
                                                                                       useDaemonThreads));
    }
Returns a newly-created {@link EventLoopGroup}.

@param numThreads the number of event loop threads
@param threadNamePrefix the prefix of thread names
@param useDaemonThreads whether to create daemon threads or not
core/src/main/java/com/linecorp/armeria/common/util/EventLoopGroups.java