|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.openwings.container.utilities.PerformanceThreshold
This class describes the thresholds for
GREEN/YELLOW/RED status
for a particular type of performance report.
| Constructor Summary | |
PerformanceThreshold()
Default Constructor. |
|
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. |
void |
setRedThreshold(float redThreshold)
This method sets the threshold indicating imminent failure. |
void |
setReportName(java.lang.String reportName)
This method sets the name of the report. |
void |
setYellowThreshold(float yellowThreshold)
This method sets 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()
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 void setReportName(java.lang.String reportName)
reportName - the type of report for which this threshold is used,
corresponding to the PerformanceReport.name field.public float getYellowThreshold()
PerformanceReport.usage
field that is the boundary between PerformanceReport.GREEN
and PerformanceReport.YELLOW.public void setYellowThreshold(float yellowThreshold)
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.public float getRedThreshold()
PerformanceReport.usage
field that is the boundary between PerformanceReport.YELLOW
and PerformanceReport.RED.
Should be greater than or equal to yellowThreshold.public void setRedThreshold(float redThreshold)
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.
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||