GigaSpaces XAP 9.7.2 API

org.openspaces.pu.sla
Class ScaleUpPolicy

java.lang.Object
  extended by org.openspaces.pu.sla.AbstractPolicy
      extended by 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

Constructor Summary
ScaleUpPolicy()
           
 
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()
           
 
Methods inherited from class org.openspaces.pu.sla.AbstractPolicy
getHigh, getLow, getLowerDampener, getMonitor, getUpperDampener, setHigh, setLow, setLowerDampener, setMonitor, setUpperDampener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScaleUpPolicy

public ScaleUpPolicy()
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.