|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.pu.sla.AbstractPolicy
public abstract class AbstractPolicy
Simple base class for different policies.
| Constructor Summary | |
|---|---|
AbstractPolicy()
|
|
| Method Summary | |
|---|---|
double |
getHigh()
The high threshold value of the policy. |
double |
getLow()
The low threshold value of the policy. |
long |
getLowerDampener()
Returns the lower dampener for this policy. |
String |
getMonitor()
The monitor name this policy will use in order to get check if its value has breached the policy thresholds ( Policy.setHigh(double) and
Policy.setLow(double)). |
long |
getUpperDampener()
Returns the lower dampener for this policy. |
void |
setHigh(double high)
The high threshold value of the policy. |
void |
setLow(double low)
The low threshold value of the policy. |
void |
setLowerDampener(long lowerDampener)
Sets the lower dampener for this policy. |
void |
setMonitor(String monitor)
The monitor name this policy will use in order to get check if its value has breached the policy thresholds ( Policy.setHigh(double) and
Policy.setLow(double)). |
void |
setUpperDampener(long upperDampener)
The upper dampener acts as a time window where if the upper threshold has been cleared (after it has been breached), it won't cause the policy action to happen. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractPolicy()
| Method Detail |
|---|
public double getHigh()
Policy
getHigh in interface PolicyPolicy.getHigh()public void setHigh(double high)
Policy
setHigh in interface PolicyPolicy.setHigh(double)public double getLow()
Policy
getLow in interface PolicyPolicy.getLow()public void setLow(double low)
Policy
setLow in interface PolicyPolicy.setLow(double)public String getMonitor()
PolicyPolicy.setHigh(double) and
Policy.setLow(double)).
getMonitor in interface PolicyPolicy.getMonitor()public void setMonitor(String monitor)
PolicyPolicy.setHigh(double) and
Policy.setLow(double)).
setMonitor in interface PolicyPolicy.setMonitor(String)public long getLowerDampener()
getLowerDampener in interface Policypublic void setLowerDampener(long lowerDampener)
setLowerDampener in interface Policypublic long getUpperDampener()
getUpperDampener in interface Policypublic void setUpperDampener(long upperDampener)
Policy3000.
setUpperDampener in interface Policy
|
GigaSpaces XAP 8.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||