All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.ly.base_common.dayu.custom.lua.LuaUtil Maven / Gradle / Ivy

package cn.ly.base_common.dayu.custom.lua;

import cn.ly.base_common.utils.io.LyMoreIOUtil;

import com.google.common.collect.Maps;

import java.util.Map;

import lombok.Getter;

/**
 * Created by liaomengge on 2019/6/26.
 */
public class LuaUtil {

    public static final String CIRCUIT_COUNTER = "circuit_counter";

    @Getter
    private static Map luaMap = Maps.newHashMap();

    //init 配置文件
    static {
        String script = LyMoreIOUtil.loadScript("lua/circuit_counter.lua");
        luaMap.put(CIRCUIT_COUNTER, script);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy