GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.autoscaling
Class DefaultAutoScalingSlaEnforcementEndpoint

java.lang.Object
  extended by org.openspaces.grid.gsm.autoscaling.DefaultAutoScalingSlaEnforcementEndpoint
All Implemented Interfaces:
AutoScalingSlaEnforcementEndpoint, ServiceLevelAgreementEnforcementEndpoint

public class DefaultAutoScalingSlaEnforcementEndpoint
extends Object
implements AutoScalingSlaEnforcementEndpoint

Since:
9.0.0
Author:
itaif

Constructor Summary
DefaultAutoScalingSlaEnforcementEndpoint(ProcessingUnit pu)
           
 
Method Summary
 void enforceSla(AutoScalingSlaPolicy sla)
           
 boolean isAboveHighThreshold(AutomaticCapacityScaleRuleConfig rule, Object value)
           
 boolean isBelowLowThreshold(AutomaticCapacityScaleRuleConfig rule, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAutoScalingSlaEnforcementEndpoint

public DefaultAutoScalingSlaEnforcementEndpoint(ProcessingUnit pu)
Method Detail

enforceSla

public void enforceSla(AutoScalingSlaPolicy sla)
                throws AutoScalingSlaEnforcementInProgressException
Specified by:
enforceSla in interface AutoScalingSlaEnforcementEndpoint
Throws:
AutoScalingSlaEnforcementInProgressException

isBelowLowThreshold

public boolean isBelowLowThreshold(AutomaticCapacityScaleRuleConfig rule,
                                   Object value)
                            throws AutoScalingSlaEnforcementInProgressException
Throws:
AutoScalingSlaEnforcementInProgressException

isAboveHighThreshold

public boolean isAboveHighThreshold(AutomaticCapacityScaleRuleConfig rule,
                                    Object value)
                             throws AutoScalingSlaEnforcementInProgressException
Throws:
AutoScalingSlaEnforcementInProgressException

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.