Package org.eclipse.net4j.util.cache
Class ThresholdConditionPolicy
- java.lang.Object
- 
- org.eclipse.net4j.util.cache.ThresholdConditionPolicy
 
- 
- All Implemented Interfaces:
- ICacheMonitor.ConditionPolicy
 - Direct Known Subclasses:
- HysteresisConditionPolicy
 
 public class ThresholdConditionPolicy extends java.lang.Object implements ICacheMonitor.ConditionPolicy - Author:
- Eike Stepper
 
- 
- 
Constructor SummaryConstructors Constructor Description ThresholdConditionPolicy(long thresholdRedYellow, long thresholdYellowGreen)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ICacheMonitor.ConditiongetNewCondition(ICacheMonitor.Condition oldCondition)protected ICacheMonitor.ConditiongetNewCondition(ICacheMonitor.Condition oldCondition, long freeMemory)longgetThresholdRedYellow()longgetThresholdYellowGreen()
 
- 
- 
- 
Method Detail- 
getThresholdRedYellowpublic long getThresholdRedYellow() 
 - 
getThresholdYellowGreenpublic long getThresholdYellowGreen() 
 - 
getNewConditionpublic ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition) - Specified by:
- getNewConditionin interface- ICacheMonitor.ConditionPolicy
 
 - 
getNewConditionprotected ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition, long freeMemory) 
 
- 
 
-