|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Policy
Policy.getHigh()
public void setHigh(double high)
Policy
setHigh
in interface Policy
Policy.setHigh(double)
public double getLow()
Policy
getLow
in interface Policy
Policy.getLow()
public void setLow(double low)
Policy
setLow
in interface Policy
Policy.setLow(double)
public String getMonitor()
Policy
Policy.setHigh(double)
and
Policy.setLow(double)
).
getMonitor
in interface Policy
Policy.getMonitor()
public void setMonitor(String monitor)
Policy
Policy.setHigh(double)
and
Policy.setLow(double)
).
setMonitor
in interface Policy
Policy.setMonitor(String)
public long getLowerDampener()
getLowerDampener
in interface Policy
public void setLowerDampener(long lowerDampener)
setLowerDampener
in interface Policy
public long getUpperDampener()
getUpperDampener
in interface Policy
public void setUpperDampener(long upperDampener)
Policy
3000
.
setUpperDampener
in interface Policy
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |