| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |
java.lang.Object
|
+--com.ibm.websphere.externalnode.Statistic
|
+-- com.ibm.websphere.externalnode.AverageStatistic
Field Summary | |
---|---|
protected long | count
Number of samples involved in this statistic.
|
protected long | min
Minimum value of all the samples.
|
protected long | max
Maximum value of all the samples.
|
protected long | total
Sum of the values of all the samples.
|
Fields inherited from com.ibm.websphere.externalnode.Statistic |
---|
description, lastSampleTime, name, nodeSpeed, numberOfCPUs, startTime, unit |
Constructor Summary | |
---|---|
AverageStatistic(long, long, long, long, long, long)
Constructs an AverageStatistic with the specified field values. |
Method Summary | |
---|---|
public
long | getCount()
Returns the number of samples involved in this statistic.
|
public
long | getMax()
Returns the maximum value of all the samples.
|
public
long | getMin()
Returns the minimum value of all the samples.
|
public
long | getTotal()
Returns the sum of the values of all the samples.
|
public
double | getMean()
Returns the mean or average (getTotal() divided by getCount()).
|
public
Object | clone()
Creates and returns a copy of this object.
|
public
String | toString()
Returns the String representation of this statistic.
|
Methods inherited from com.ibm.websphere.externalnode.Statistic |
---|
getDescription, getLastSampleTime, getName, getNodeSpeed, getNumberOfCPUs, getStartTime, getUnit, setDescription, setName, setNodeSpeed, setNumberOfCPUs, setStartAndLastSampleTimes, setUnit |
Methods inherited from java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected count
protected min
protected max
protected total
Constructor Detail |
public AverageStatistic( | long count , | long min , | long max , | long total , | long startTime , | long lastSampleTime )
|
count
-
the number of samples involved in this statistic.
min
-
the minimum value of all the samples.
max
-
the maximum value of all the samples.
total
-
the sum of the values of all the samples.
startTime
-
the time of the first sample represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.
lastSampleTime
-
the time of the last sample represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00.
Method Detail |
public long getCount( | ) |
public long getMax( | ) |
public long getMin( | ) |
public long getTotal( | ) |
public double getMean( | ) |
public Object clone( | ) |
public String toString( | ) |
| IBM WebSphere Extended Deployment (XD)TM
Release 6.0 |