private static Integer getPid() {
        RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
        String name = runtime.getName();
        int index = name.indexOf("@");
        if (index != -1) {
            return Integer.parseInt(name.substring(0, index));
        }
        return 0;
    }
@author Robert HG (254963746@qq.com) on 3/30/15.
lts-core/src/main/java/com/github/ltsopensource/core/factory/JobNodeConfigFactory.java