private static String generateName0(Class<?> handlerType) {
        if (handlerType == null) {
            throw new NullPointerException("handlerType");
        }

        String className = handlerType.getName();
        final int lastDotIdx = className.lastIndexOf('.');
        if (lastDotIdx > -1) {
            className = className.substring(lastDotIdx + 1);
        }
        return className + "#0";
    }
Most of the code references the pipeline design of
<a href="https://github.com/netty/netty">Netty</a>.

@author jiachun.fjc
jraft-rheakv/rheakv-core/src/main/java/com/alipay/sofa/jraft/rhea/util/pipeline/DefaultPipeline.java