MonitorStats
public MonitorStats()
MonitorStats
public MonitorStats(int health,
int load,
int cpuload,
int memload,
int threadload,
String host,
String port,
String protocol,
long time)
Default constructor
health
- load
- cpuload
- memload
- threadload
- host
- port
- protocol
- time
-
getCpuLoad
public int getCpuLoad()
getHealth
public int getHealth()
getHost
public String getHost()
getLoad
public int getLoad()
getMemLoad
public int getMemLoad()
getPort
public String getPort()
getProtocol
public String getProtocol()
getThreadLoad
public int getThreadLoad()
getTimeStamp
public long getTimeStamp()
getURL
public String getURL()
For convienance, this method returns the protocol, host and port as a
URL.
setCpuLoad
public void setCpuLoad(int load)
setHealth
public void setHealth(int health)
setHost
public void setHost(String host)
setLoad
public void setLoad(int load)
setMemLoad
public void setMemLoad(int load)
setPort
public void setPort(String port)
setProtocol
public void setProtocol(String protocol)
setThreadLoad
public void setThreadLoad(int load)
setTimeStamp
public void setTimeStamp(long time)