Rio Project 4.2 API Documentation
org.rioproject.watch
Class BoundedThresholdManager
java.lang.Object
org.rioproject.watch.ThresholdManager
org.rioproject.watch.BoundedThresholdManager
public class BoundedThresholdManager
- extends ThresholdManager
The BoundedThresholdManager provides support for threshold handling as
follows: A ThresholdNotify.notify method is invoked when the high threshold
is breached, and again invoked when the Calculable drops below the high
threshold. Low threshold processing occurs in the same manner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundedThresholdManager
public BoundedThresholdManager()
getThresholdCrossed
public boolean getThresholdCrossed()
- Description copied from class:
ThresholdManager
- Get the type of threshold that has been crossed
- Specified by:
getThresholdCrossed in class ThresholdManager
- Returns:
- The type of threshold that has been crossed
checkThreshold
public void checkThreshold(Calculable calculable)
- Description copied from class:
ThresholdManager
- Check the threshold and determine if any action needs to occur
- Specified by:
checkThreshold in class ThresholdManager
- Parameters:
calculable - The Calculable to check
Copyright © 2006-2011 Rio Project. All Rights Reserved.