|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gridrm.client.utilities.sorma.monitoring.coreAttributes.Resource
public class Resource
| Constructor Summary | |
|---|---|
Resource(String resourceName,
String tychoGatewayName)
|
|
| Method Summary | |
|---|---|
int |
getCpuSpeed()
|
Disk |
getDisk()
|
DriverType |
getDriverType()
Get the driver type that was used to retrieve the resource data. |
String |
getGatewayName()
Get the controlling gateway's Tycho name |
float |
getLast15Min()
Get the last 15 minute system load |
float |
getLast1Min()
Get the last 1 minute system load |
float |
getLast5Min()
Get the last 5 minute system load |
Memory |
getMemory()
Return the Memory utilisation. |
String |
getOperatingSystemName()
Return the name of the Operating System |
String |
getOperatingSystemRelease()
Return the Operating System Release |
String |
getOperatingSystemVersion()
Get the Operating System Version |
String |
getPlatformType()
Get the architecture's platform type |
String |
getResourceName()
Get the name of this resource |
int |
getSmpSize()
Architecture If the resource is an SMP then returns the number of processors e.g. |
void |
setArchitecture(String platformType,
int smpSize,
int cpuSpeed)
Set the architecture details |
void |
setDisk(Disk disk)
Set the disk details for this resource |
void |
setDriverType(DriverType driver)
Set the type of driver that was used to query the resource data |
void |
setLastNmin(float last1Min,
float last5Min,
float last15Min)
Set the system load values |
void |
setMemory(Memory mem)
Set the memory utilisation |
void |
setOperatingSystem(String name,
String release,
String version)
Set the operating system details |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Resource(String resourceName,
String tychoGatewayName)
| Method Detail |
|---|
public void setLastNmin(float last1Min,
float last5Min,
float last15Min)
last11min - last5min - last15min -
public void setOperatingSystem(String name,
String release,
String version)
name - release - version - public void setMemory(Memory mem)
mem -
public void setArchitecture(String platformType,
int smpSize,
int cpuSpeed)
platformType - smpSize - cpuSpeed - public void setDisk(Disk disk)
disk -
public Disk getDisk()
throws Exception
Exception
public Memory getMemory()
throws Exception
Exceptionpublic String getOperatingSystemName()
public String getOperatingSystemRelease()
public String getOperatingSystemVersion()
public float getLast1Min()
throws Exception
Exception
public float getLast5Min()
throws Exception
Exception
public float getLast15Min()
throws Exception
Exceptionpublic String getPlatformType()
public int getSmpSize()
public int getCpuSpeed()
public String getResourceName()
public String getGatewayName()
public void setDriverType(DriverType driver)
driver - public DriverType getDriverType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||