public static Object getAttribute(String objectName, String attributeName) {
        try {
            return MBEAN_SERVER.getAttribute(new ObjectName(objectName), attributeName);
        } catch (Exception e) {
            LOGGER.error("get Attribute error, objectName=" + objectName + ", attributeName=" + attributeName, e);
        }
        return null;
    }
@author Robert HG (254963746@qq.com) on 9/15/15.
lts-core/src/main/java/com/github/ltsopensource/jvmmonitor/JVMMonitor.java