
public class ThresholdConditionPolicy extends Object implements ICacheMonitor.ConditionPolicy
| Constructor and Description |
|---|
ThresholdConditionPolicy(long thresholdRedYellow,
long thresholdYellowGreen) |
| Modifier and Type | Method and Description |
|---|---|
ICacheMonitor.Condition |
getNewCondition(ICacheMonitor.Condition oldCondition) |
protected ICacheMonitor.Condition |
getNewCondition(ICacheMonitor.Condition oldCondition,
long freeMemory) |
long |
getThresholdRedYellow() |
long |
getThresholdYellowGreen() |
public ThresholdConditionPolicy(long thresholdRedYellow,
long thresholdYellowGreen)
public long getThresholdRedYellow()
public long getThresholdYellowGreen()
public ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition)
getNewCondition in interface ICacheMonitor.ConditionPolicyprotected ICacheMonitor.Condition getNewCondition(ICacheMonitor.Condition oldCondition, long freeMemory)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.