
com.hecloud.runtime.common.utils.SystemTool Maven / Gradle / Ivy
package com.hecloud.runtime.common.utils;
import com.hecloud.runtime.common.model.GenericResult;
import java.lang.management.*;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.NumberFormat;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
/**
* @author LoveinBJ
*/
public class SystemTool {
private final long MB = 1024 * 1024L;
private NumberFormat fmtI = new DecimalFormat("###,###", new DecimalFormatSymbols(Locale.ENGLISH));
private NumberFormat fmtD = new DecimalFormat("###,##0.000", new DecimalFormatSymbols(Locale.ENGLISH));
public GenericResult
© 2015 - 2025 Weber Informatics LLC | Privacy Policy