docs: private static ThreadFactory createThreadFactory(ThreadFactory threadFactory, String threadNamePrefix,
  			Boolean daemon) {
  		if (threadFactory != null) {
  			return threadFactory;
  		}
  
  		if (threadNamePrefix != null) {
  			if (daemon != null) {
  				return ThreadPoolUtil.buildThreadFactory(threadNamePrefix, daemon);
  			} else {
  				return ThreadPoolUtil.buildThreadFactory(threadNamePrefix);
  			}
  		}
  
  		return Executors.defaultThreadFactory();
  	}