public interface Policy extends Serializable
setMonitor(String)
)
breaches the policy thresholds.
The monitor is referenced by name and can use one of the built in monitors
that comes with the grid container (CPU
and Memory
)
or one of the custom monitors defined within the SLA
.
SLA
Modifier and Type | Method and Description |
---|---|
double |
getHigh()
The high threshold value of the policy.
|
double |
getLow()
The low threshold value of the policy.
|
long |
getLowerDampener()
The lower dampener acts as a time window where if the lower threshold
has been cleared (after it has been breached), it won't cause the policy action to happen.
|
String |
getMonitor()
The monitor name this policy will use in order to get check if its
value has breached the policy thresholds (
setHigh(double) and
setLow(double) ). |
long |
getUpperDampener()
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.
|
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)
The lower dampener acts as a time window where if the lower threshold
has been cleared (after it has been breached), it won't cause the policy action to happen.
|
void |
setMonitor(String watch)
The monitor name this policy will use in order to get check if its
value has breached the policy thresholds (
setHigh(double) and
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.
|
String getMonitor()
setHigh(double)
and
setLow(double)
).void setMonitor(String watch)
setHigh(double)
and
setLow(double)
).double getHigh()
void setHigh(double high)
double getLow()
void setLow(double low)
long getLowerDampener()
3000
.void setLowerDampener(long lowerDampener)
3000
.long getUpperDampener()
3000
.void setUpperDampener(long upperDampener)
3000
.Copyright © GigaSpaces.