public static ThreadFactory createThreadFactory(final String prefixName) {
        return new NamedThreadFactory(prefixName, true);
    }
Create a thread factory.

@param prefixName the prefix name of thread
@return a new {@link ThreadFactory} instance

@since 0.0.3
jraft-core/src/main/java/com/alipay/sofa/jraft/JRaftUtils.java