|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.monitor.stats.AverageRangeStatisticImpl
public class AverageRangeStatisticImpl
| Constructor Summary | |
|---|---|
AverageRangeStatisticImpl(BoundedRangeStatisticImpl stats,
long numberOfSamples,
long runningTotal)
Constructs an immutable instance of AverageRangeStatisticImpl. |
|
AverageRangeStatisticImpl(long curVal,
long highMark,
long lowMark,
long upper,
long lower,
String name,
String unit,
String desc,
long startTime,
long sampleTime,
long numberOfSamples,
long runningTotal)
Constructs an immutable instance of AverageRangeStatisticImpl. |
|
| Method Summary | |
|---|---|
long |
getAverage()
|
long |
getCurrent()
The current value of this attribute. |
String |
getDescription()
A human-readable description of the Statistic. |
long |
getHighWaterMark()
The highest value this attribute has held since the beginning of the measurement. |
long |
getLastSampleTime()
The time of the last measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00. |
long |
getLowWaterMark()
The lowest value this attribute has held since the beginning of the measurement. |
String |
getName()
The name of this Statistic. |
long |
getStartTime()
The time of the first measurement represented as a long, whose value is the number of milliseconds since January 1, 1970, 00:00:00. |
String |
getUnit()
The unit of measurement for this Statistic. |
void |
setDescription(String desc)
This is a hack. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AverageRangeStatisticImpl(long curVal,
long highMark,
long lowMark,
long upper,
long lower,
String name,
String unit,
String desc,
long startTime,
long sampleTime,
long numberOfSamples,
long runningTotal)
curVal - The current value of this statistichighMark - The highest value of this statistic, since measurement
startedlowMark - The lowest value of this statistic, since measurement
startedupper - The upper limit of this statisticlower - The lower limit of this statisticname - The name of the statisticunit - The unit of measurement for this statisticdesc - A brief description of the statisticstartTime - Time in milliseconds at which the measurement was startedsampleTime - Time at which the last measurement was done.numberOfSamples - number of samples at presentrunningTotal - running total of sampled data at present
public AverageRangeStatisticImpl(BoundedRangeStatisticImpl stats,
long numberOfSamples,
long runningTotal)
stats - a BoundedRangeStatisticImplnumberOfSamples - number of samples at presentrunningTotal - running total of sampled data at present| Method Detail |
|---|
public long getCurrent()
RangeStatistic
getCurrent in interface RangeStatisticpublic String getDescription()
Statistic
getDescription in interface Statisticpublic long getHighWaterMark()
RangeStatistic
getHighWaterMark in interface RangeStatisticpublic long getLastSampleTime()
Statistic
getLastSampleTime in interface Statisticpublic long getLowWaterMark()
RangeStatistic
getLowWaterMark in interface RangeStatisticpublic String getName()
Statistic
getName in interface Statisticpublic long getStartTime()
Statistic
getStartTime in interface Statisticpublic String getUnit()
Statistic
getUnit in interface Statisticpublic long getAverage()
getAverage in interface AverageRangeStatisticpublic void setDescription(String desc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||