code: public static UserExecutorConfiguration of(ExecutorType type, int num, @Nullable Class<? extends ThreadFactory> threadFactoryClass) {
          UserExecutorConfiguration configuration = of(type, num);
          if (threadFactoryClass != null) {
              configuration.threadFactoryClass = threadFactoryClass;
          }
          return configuration;
      }
docs: Construct a {@link UserExecutorConfiguration} for the given {@link io.micronaut.scheduling.executor.ExecutorType}.
  
  @param type               The type
  @param num                The number of threads for {@link io.micronaut.scheduling.executor.ExecutorType#FIXED} or the parallelism for
  {@link io.micronaut.scheduling.executor.ExecutorType#WORK_STEALING} or the core pool size for {@link io.micronaut.scheduling.executor.ExecutorType#SCHEDULED}
  @param threadFactoryClass The thread factory class
  @return The configuration