class DynamicDsKey {
    static ThreadLocal<String> targetThreadLocal = FactoryManager.getGlobal().newThreadLocal(DynamicDsKey.class, false);

    /**
     * 移除状态
     */
    public static void remove() {
        targetThreadLocal.remove();
    }

    /**
     * 获取当前
     */
    public static String getCurrent() {
        return targetThreadLocal.get();
    }

    /**
     * 设置当前
     */
    public static void setCurrent(String name) {<FILL_FUNCTION_BODY>}
}

        if (name == null) {
            targetThreadLocal.remove();
        } else {
            targetThreadLocal.set(name);
        }
    
<no_super_class>