org.openspaces.grid.gsm.autoscaling
Class DefaultAutoScalingSlaEnforcementEndpoint
java.lang.Object
org.openspaces.grid.gsm.autoscaling.DefaultAutoScalingSlaEnforcementEndpoint
- All Implemented Interfaces:
- AutoScalingSlaEnforcementEndpoint, ServiceLevelAgreementEnforcementEndpoint
public class DefaultAutoScalingSlaEnforcementEndpoint
- extends Object
- implements AutoScalingSlaEnforcementEndpoint
- Since:
- 9.0.0
- Author:
- itaif
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAutoScalingSlaEnforcementEndpoint
public DefaultAutoScalingSlaEnforcementEndpoint(ProcessingUnit pu)
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
Copyright © GigaSpaces.