|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ThresholdEvaluatorState
Provides a method to evaluate a threshold and do basic population of events. There is an instance of ThresholdEvaluatorState for each configured thresholding type on each configured data source on each configured node/interface/etc.. The object that implements this interface usually also stores state (hence the name).
| Nested Class Summary | |
|---|---|
static class |
ThresholdEvaluatorState.Status
|
| Method Summary | |
|---|---|
void |
clearState()
|
ThresholdEvaluatorState.Status |
evaluate(double dsValue)
|
ThresholdEvaluatorState |
getCleanClone()
Returns a "clean" (armed, non-triggered) clone of this object |
Event |
getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
CollectionResourceWrapper resource)
|
BaseThresholdDefConfigWrapper |
getThresholdConfig()
|
boolean |
isTriggered()
Return true if current state is TRIGGERED |
| Method Detail |
|---|
ThresholdEvaluatorState.Status evaluate(double dsValue)
Event getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
CollectionResourceWrapper resource)
boolean isTriggered()
void clearState()
BaseThresholdDefConfigWrapper getThresholdConfig()
ThresholdEvaluatorState getCleanClone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||