类 MonitorInfo
- java.lang.Object
-
- com.alibaba.nacos.config.server.model.app.MonitorInfo
-
public class MonitorInfo extends java.lang.ObjectCreated by qingliang on 2017/7/20.- 作者:
- Nacos
-
-
字段概要
字段 修饰符和类型 字段 说明 private doublecpuRatioCpu ratio.private intfgcFull gc time counter.private doublefgctFull gc time.private longfreeMemoryFree memory.private doublegctGc time.private doubleloadSystem load.private longmaxMemoryMax memory can use.private longtotalMemoryTotal memory can use.private intygcYoung gc time counter.private doubleygctYoung gc time.
-
构造器概要
构造器 构造器 说明 MonitorInfo()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 doublegetCpuRatio()intgetFgc()doublegetFgct()longgetFreeMemory()doublegetGct()doublegetLoad()longgetMaxMemory()longgetTotalMemory()intgetYgc()doublegetYgct()voidsetCpuRatio(int cpuRatio)voidsetFgc(int fgc)voidsetFgct(int fgct)voidsetFreeMemory(long freeMemory)voidsetGct(int gct)voidsetLoad(int load)voidsetMaxMemory(long maxMemory)voidsetTotalMemory(long totalMemory)voidsetYgc(int ygc)voidsetYgct(int ygct)java.lang.StringtoString()
-
-
-
字段详细资料
-
totalMemory
private long totalMemory
Total memory can use.
-
freeMemory
private long freeMemory
Free memory.
-
maxMemory
private volatile long maxMemory
Max memory can use.
-
cpuRatio
private double cpuRatio
Cpu ratio.
-
load
private double load
System load.
-
ygc
private int ygc
Young gc time counter.
-
ygct
private double ygct
Young gc time.
-
fgc
private int fgc
Full gc time counter.
-
fgct
private double fgct
Full gc time.
-
gct
private double gct
Gc time.
-
-
方法详细资料
-
getFreeMemory
public long getFreeMemory()
-
setFreeMemory
public void setFreeMemory(long freeMemory)
-
getMaxMemory
public long getMaxMemory()
-
setMaxMemory
public void setMaxMemory(long maxMemory)
-
getTotalMemory
public long getTotalMemory()
-
setTotalMemory
public void setTotalMemory(long totalMemory)
-
getCpuRatio
public double getCpuRatio()
-
setCpuRatio
public void setCpuRatio(int cpuRatio)
-
getLoad
public double getLoad()
-
setLoad
public void setLoad(int load)
-
getYgc
public int getYgc()
-
setYgc
public void setYgc(int ygc)
-
getYgct
public double getYgct()
-
setYgct
public void setYgct(int ygct)
-
getFgc
public int getFgc()
-
setFgc
public void setFgc(int fgc)
-
getFgct
public double getFgct()
-
setFgct
public void setFgct(int fgct)
-
getGct
public double getGct()
-
setGct
public void setGct(int gct)
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-