package cn.myapps.runtime.system.monitor.model;

public class SystemMonitor {
	private Object cpuLoad;
	private Object threadNum;
	private Object heapSizeUsed;
	private Object nonHeapSizeUsed;
	private Object totalMemorySize;
	private Object time;
	public Object getCpuLoad() {
		return cpuLoad;
	}
	public void setCpuLoad(Object cpuLoad) {
		this.cpuLoad = cpuLoad;
	}
	public Object getThreadNum() {
		return threadNum;
	}
	public void setThreadNum(Object threadNum) {
		this.threadNum = threadNum;
	}
	public Object getHeapSizeUsed() {
		return heapSizeUsed;
	}
	public void setHeapSizeUsed(Object heapSizeUsed) {
		this.heapSizeUsed = heapSizeUsed;
	}
	public Object getNonHeapSizeUsed() {
		return nonHeapSizeUsed;
	}
	public void setNonHeapSizeUsed(Object nonHeapSizeUsed) {
		this.nonHeapSizeUsed = nonHeapSizeUsed;
	}
	public Object getTotalMemorySize() {
		return totalMemorySize;
	}
	public void setTotalMemorySize(Object totalMemorySize) {
		this.totalMemorySize = totalMemorySize;
	}
	public Object getTime() {
		return time;
	}
	public void setTime(Object time) {
		this.time = time;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		StringBuffer stbr=new StringBuffer();
		stbr.append("{\"cpuLoad\":").append(cpuLoad).append(",");
		stbr.append("\"threadNum\":").append(threadNum).append(",");
		stbr.append("\"heapSizeUsed\":").append(heapSizeUsed).append(",");
		stbr.append("\"nonHeapSizeUsed\":").append(nonHeapSizeUsed).append(",");
		stbr.append("\"totalMemorySize\":").append(totalMemorySize).append(",");
		stbr.append("\"time\":").append(time).append("}");
		
		return stbr.toString();
	}
	
	
}
