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:
  • 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 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