|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThresholdListener
Listener for notification that a threshold has been crossed. A ThresholdManager will notify a ThresholdListener if a Threshold has been crossed. The ThresholdListener may take corrective actions to deal with the threshold condition, and/or generate ThresholdEvent notifications to interested EventConsumer instances
| Method Summary | |
|---|---|
String |
getID()
Get the ID of the ThresholdWatch the ThresholdListener is associated to |
void |
notify(Calculable calculable,
ThresholdValues thresholdValues,
int type)
Notify for a threshold event |
void |
setThresholdManager(ThresholdManager thresholdManager)
Set the ThresholdManager and connect to the ThresholdManager |
| Method Detail |
|---|
String getID()
void setThresholdManager(ThresholdManager thresholdManager)
thresholdManager - The ThresholdManager to connect to
void notify(Calculable calculable,
ThresholdValues thresholdValues,
int type)
calculable - The current metricthresholdValues - The current thresholdstype - The type of threshold event, breached or cleared
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||