|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmain.NodeInfo
public class NodeInfo
The NodeInfo
class holds information for one node on the
PlanetLab network. The class contains all the possible information that can
be retrieved from Sophia. This is not to be confused with the Node
class which only has the information required to draw a node.
Field Summary | |
---|---|
static java.lang.String |
DISKBYTESAVAILABLE
This is equivalent to the case-insensitive string "diskbytesavailable." |
static java.lang.String |
DISKBYTESUSED
This is equivalent to the case-insensitive string "diskbytesused." |
static java.lang.String |
DISKDRIVENAME
This is equivalent to the case-insensitive string "diskdrivename." |
static java.lang.String |
DISKPERCENTUSED
This is equivalent to the case-insensitive string "diskpercentused." |
static java.lang.String |
HTBCONTROL
This is equivalent to the case-insensitive string "htbcontrol." |
static java.lang.String |
HTBVALUE
This is equivalent to the case-insensitive string "htbvalue." |
static java.lang.String |
ID
This is equivalent to the case-insensitive string "id." |
static java.lang.String |
LATITUDE
This is equivalent to the case-insensitive string "latitude." |
static java.lang.String |
LOAD
This is equivalent to the case-insensitive string "load." |
static java.lang.String |
LOAD15
This is equivalent to the case-insensitive string "load15." |
static java.lang.String |
LOAD5
This is equivalent to the case-insensitive string "load5." |
static java.lang.String |
LOCALHOST
This is equivalent to the case-insensitive string "localhost." |
static java.lang.String |
LOCALTIME
This is equivalent to the case-insensitive string "localtime." |
static java.lang.String |
LONGITUDE
This is equivalent to the case-insensitive string "longitude." |
static java.lang.String |
LSMOD
This is equivalent to the case-insensitive string "lsmod." |
static java.lang.String |
MEMFREE
This is equivalent to the case-insensitive string "memfree." |
static java.lang.String |
MEMTOTAL
This is equivalent to the case-insensitive string "memtotal." |
static java.lang.String |
MEMUSED
This is equivalent to the case-insensitive string "memused." |
static java.lang.String |
MODEL
This is equivalent to the case-insensitive string "model." |
static java.lang.String |
MOUNTPOINT
This is equivalent to the case-insensitive string "mountpoint." |
private java.util.jar.Attributes |
properties
|
static java.lang.String |
RPM
This is equivalent to the case-insensitive string "rpm." |
static java.lang.String |
UPDATE
This is equivalent to the case-insensitive string "update." |
static java.lang.String |
UPTIME
This is equivalent to the case-insensitive string "uptime." |
Constructor Summary | |
---|---|
NodeInfo()
Creates a new, uninitialized NodeInfo . |
Method Summary | |
---|---|
java.lang.String |
getProperty(java.lang.String property)
Gets the value of the given property. |
void |
setProperty(java.lang.String property,
java.lang.String value)
Sets the value of the given property to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ID
public static final java.lang.String UPTIME
public static final java.lang.String MEMFREE
public static final java.lang.String MEMTOTAL
public static final java.lang.String MEMUSED
public static final java.lang.String LOAD
public static final java.lang.String LOAD5
public static final java.lang.String LOAD15
public static final java.lang.String LOCALHOST
public static final java.lang.String LOCALTIME
public static final java.lang.String LATITUDE
public static final java.lang.String LONGITUDE
public static final java.lang.String MODEL
public static final java.lang.String LSMOD
public static final java.lang.String UPDATE
public static final java.lang.String DISKDRIVENAME
public static final java.lang.String DISKBYTESUSED
public static final java.lang.String DISKBYTESAVAILABLE
public static final java.lang.String DISKPERCENTUSED
public static final java.lang.String MOUNTPOINT
public static final java.lang.String HTBCONTROL
public static final java.lang.String HTBVALUE
public static final java.lang.String RPM
private java.util.jar.Attributes properties
Constructor Detail |
---|
public NodeInfo()
NodeInfo
.
Method Detail |
---|
public void setProperty(java.lang.String property, java.lang.String value) throws javax.naming.InvalidNameException
property
- a String
containing the name of the property to
setvalue
- a String
containing the value
javax.naming.InvalidNameException
- if property is not a valid property namepublic java.lang.String getProperty(java.lang.String property)
property
- a String
containing the name of the property to
get
String
containing the property's value, or null
if the property was not set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |