org.openspaces.pu.sla
Class ScaleUpPolicy
java.lang.Object
org.openspaces.pu.sla.AbstractPolicy
org.openspaces.pu.sla.ScaleUpPolicy
- All Implemented Interfaces:
- Serializable, Policy
public class ScaleUpPolicy
- extends AbstractPolicy
Scale up policy will cause a processing unit instance to be created
when the policy associated monitor breaches its threshold values.
- Author:
- kimchy
- See Also:
- Serialized Form
Method Summary |
int |
getMaxInstances()
The maximum number of processing instances this scale up policy will scale
up to. |
void |
setMaxInstances(int maxInstances)
The maximum number of processing instances this scale up policy will scale
up to. |
String |
toString()
|
ScaleUpPolicy
public ScaleUpPolicy()
getMaxInstances
public int getMaxInstances()
- The maximum number of processing instances this scale up policy will scale
up to. Should be higher than
high
value.
setMaxInstances
public void setMaxInstances(int maxInstances)
- The maximum number of processing instances this scale up policy will scale
up to. Should be higher than
high
value.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.