@Deprecated public class MonitorModel extends Object implements Clearable, Serializable, Cloneable
Constructor and Description |
---|
MonitorModel()
Deprecated.
|
MonitorModel(MonitorStats stat)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clearData()
Deprecated.
clear will create a new MonitorStats object.
|
Object |
clone()
Deprecated.
a clone method is provided for convienance.
|
MonitorStats |
cloneMonitorStats()
Deprecated.
a clone method to clone the stats
|
int |
getCpuload()
Deprecated.
|
int |
getHealth()
Deprecated.
|
String |
getHost()
Deprecated.
|
int |
getLoad()
Deprecated.
|
int |
getMemload()
Deprecated.
|
String |
getPort()
Deprecated.
|
String |
getProtocol()
Deprecated.
|
int |
getThreadload()
Deprecated.
|
long |
getTimestamp()
Deprecated.
|
String |
getTimestampString()
Deprecated.
Method will return a formatted date using SimpleDateFormat.
|
String |
getURL()
Deprecated.
|
String |
toString()
Deprecated.
Method is used by DefaultMutableTreeNode to get the label for the node.
|
public MonitorModel()
public MonitorModel(MonitorStats stat)
public int getHealth()
public int getLoad()
public int getCpuload()
public int getMemload()
public int getThreadload()
public String getHost()
public String getPort()
public String getProtocol()
public long getTimestamp()
public String getURL()
public String getTimestampString()
public String toString()
public void clearData()
public Object clone()
public MonitorStats cloneMonitorStats()
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.