| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
java.lang.Object
|
+-- com.ibm.websphere.externalnode.Statistic
All fields are optional fields. Subclasses may dictate certain fields as mandatory.
Field Summary | |
---|---|
protected String | name
Name of this statistic.
|
protected String | description
Description of this statistic.
|
protected String | unit
The unit of measurement for this statistic.
|
protected long | startTime
Time the first measurement was taken.
|
protected long | lastSampleTime
Time the last measurement was taken.
|
protected float | nodeSpeed
The average system speed in MHz.
|
protected int | numberOfCPUs
The number of Central Processing Units in the system.
|
Constructor Summary | |
---|---|
Statistic()
Constructs an empty Statistic object with default field values. |
Method Summary | |
---|---|
public
String | getName()
Returns the name of this statistic. .
|
public
void | setName(java.lang.String)
Sets the name of this statistic.
|
public
String | getUnit()
Returns the unit of measurement for this statistic..
|
public
void | setUnit(java.lang.String)
Sets the unit of measurement for this statistic.
|
public
String | getDescription()
Returns a human-readable description of this statistic..
|
public
void | setDescription(java.lang.String)
Sets a human-readable description of this statistic.
|
public
long | getStartTime()
Returns the time the first measurement was taken represented as a long..
|
public
long | getLastSampleTime()
Returns the time the last measurement was taken represented as a long..
|
public
void | setStartAndLastSampleTimes(long, long)
Sets the start time and last sample time.
|
public
Object | clone()
Creates and returns a copy of this object.
|
public
float | getNodeSpeed()
Returns the average system speed in MHz..
|
public
void | setNodeSpeed(float)
Sets the average system speed in MHz.
|
public
int | getNumberOfCPUs()
Returns the number of Central Processing Units in the system.
|
public
void | setNumberOfCPUs(int)
Sets the number of Central Processing Units in the system.
|
Methods inherited from java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected name
protected description
protected unit
protected startTime
protected lastSampleTime
protected nodeSpeed
protected numberOfCPUs
Constructor Detail |
public Statistic( | ) |
Method Detail |
public String getName( | ) |
public void setName( | String name )
|
name
-
the name to set.
public String getUnit( | ) |
public void setUnit( | String unit )
|
unit
-
the unit to set.
public String getDescription( | ) |
public void setDescription( | String description )
|
description
-
the description to set.
public long getStartTime( | ) |
public long getLastSampleTime( | ) |
public void setStartAndLastSampleTimes( | long startTime , | long lastSampleTime )
|
startTime
-
the time of the first measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.
lastSampleTime
-
the time of the last measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.
public Object clone( | ) |
public float getNodeSpeed( | ) |
public void setNodeSpeed( | float nodeSpeed )
|
nodeSpeed
-
the speed to set.
public int getNumberOfCPUs( | ) |
public void setNumberOfCPUs( | int numberOfCPUs )
|
numberOfCPUs
-
the number of CPUs to set.
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |