Package org.eclipse.net4j.util.cache
Klasse ThresholdConditionPolicy
java.lang.Object
org.eclipse.net4j.util.cache.ThresholdConditionPolicy
- Alle implementierten Schnittstellen:
ICacheMonitor.ConditionPolicy
- Bekannte direkte Unterklassen:
HysteresisConditionPolicy
- Autor:
- Eike Stepper
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungThresholdConditionPolicy
(long thresholdRedYellow, long thresholdYellowGreen) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetNewCondition
(ICacheMonitor.Condition oldCondition) protected ICacheMonitor.Condition
getNewCondition
(ICacheMonitor.Condition oldCondition, long freeMemory) long
long
-
Konstruktordetails
-
ThresholdConditionPolicy
public ThresholdConditionPolicy(long thresholdRedYellow, long thresholdYellowGreen)
-
-
Methodendetails
-
getThresholdRedYellow
public long getThresholdRedYellow() -
getThresholdYellowGreen
public long getThresholdYellowGreen() -
getNewCondition
- Angegeben von:
getNewCondition
in SchnittstelleICacheMonitor.ConditionPolicy
-
getNewCondition
protected ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition, long freeMemory)
-