|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.openwings.container.utilities.PerformanceThreshold
This class describes the thresholds for
GREEN/YELLOW/RED status
for a particular type of performance report.
| Constructor Summary | |
PerformanceThreshold(java.lang.String reportName,
float yellowThreshold,
float redThreshold)
This is the single public constructor for this class |
|
| Method Summary | |
float |
getRedThreshold()
This method returns the threshold indicating imminent failure. |
java.lang.String |
getReportName()
This method returns the name of the report. |
float |
getYellowThreshold()
This method returns the threshold indicating degraded operation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PerformanceThreshold(java.lang.String reportName,
float yellowThreshold,
float redThreshold)
reportName - the type of report for which this threshold is used,
corresponding to the PerformanceReport.name field.yellowThreshold - float value between 0.0 and 1.0 (inclusive)
representing the ratio in a PerformanceReport.usage
field that is the boundary between PerformanceReport.GREEN
and PerformanceReport.YELLOW.redThreshold - float value between 0.0 and 1.0 (inclusive)
representing the ratio in a PerformanceReport.usage
field that is the boundary between PerformanceReport.YELLOW
and PerformanceReport.RED.
Should be greater than or equal to yellowThreshold.| Method Detail |
public java.lang.String getReportName()
PerformanceReport.name field.public float getYellowThreshold()
PerformanceReport.usage
field that is the boundary between PerformanceReport.GREEN
and PerformanceReport.YELLOW.public float getRedThreshold()
|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||