Package org.openspaces.pu.sla
Class ScaleUpPolicy
java.lang.Object
org.openspaces.pu.sla.AbstractPolicy
org.openspaces.pu.sla.ScaleUpPolicy
- All Implemented Interfaces:
Serializable,Policy
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:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe maximum number of processing instances this scale up policy will scale up to.voidsetMaxInstances(int maxInstances) The maximum number of processing instances this scale up policy will scale up to.toString()Methods inherited from class org.openspaces.pu.sla.AbstractPolicy
getHigh, getLow, getLowerDampener, getMonitor, getUpperDampener, setHigh, setLow, setLowerDampener, setMonitor, setUpperDampener
-
Constructor Details
-
ScaleUpPolicy
public ScaleUpPolicy()
-
-
Method Details
-
getMaxInstances
public int getMaxInstances()The maximum number of processing instances this scale up policy will scale up to. Should be higher thanhighvalue. -
setMaxInstances
public void setMaxInstances(int maxInstances) The maximum number of processing instances this scale up policy will scale up to. Should be higher thanhighvalue. -
toString
-