public class HysteresisConditionPolicy extends ThresholdConditionPolicy
Constructor and Description |
---|
HysteresisConditionPolicy(long thresholdYellowRed,
long thresholdRedYellow,
long thresholdGreenYellow,
long thresholdYellowGreen) |
Modifier and Type | Method and Description |
---|---|
protected ICacheMonitor.Condition |
getNewCondition(ICacheMonitor.Condition oldCondition,
long freeMemory) |
long |
getThresholdGreenYellow() |
long |
getThresholdYellowRed() |
getNewCondition, getThresholdRedYellow, getThresholdYellowGreen
public HysteresisConditionPolicy(long thresholdYellowRed, long thresholdRedYellow, long thresholdGreenYellow, long thresholdYellowGreen)
public long getThresholdYellowRed()
public long getThresholdGreenYellow()
protected ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition, long freeMemory)
getNewCondition
in class ThresholdConditionPolicy
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.