org.openspaces.grid.gsm.autoscaling.exceptions
Class RulesConflictAutoScalingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
org.openspaces.grid.gsm.autoscaling.exceptions.AutoScalingSlaEnforcementInProgressException
org.openspaces.grid.gsm.autoscaling.exceptions.RulesConflictAutoScalingException
- All Implemented Interfaces:
- Serializable, SlaEnforcementFailure
public class RulesConflictAutoScalingException
- extends AutoScalingSlaEnforcementInProgressException
- implements SlaEnforcementFailure
An exception that is raised when there is more than one scaling rule,
and one or more scaling rule requires scale out, while the other requires scale down.
- Since:
- 9.0.0
- Author:
- itaif
- See Also:
- Serialized Form
RulesConflictAutoScalingException
public RulesConflictAutoScalingException(org.openspaces.admin.internal.pu.InternalProcessingUnit pu,
Map<AutomaticCapacityScaleRuleConfig,Object> valuesBelowLowThresholdPerRule,
Map<AutomaticCapacityScaleRuleConfig,Object> valuesAboveHighThresholdPerRule)
getAffectedProcessingUnits
public String[] getAffectedProcessingUnits()
- Specified by:
getAffectedProcessingUnits
in interface SlaEnforcementFailure
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Description copied from interface:
SlaEnforcementFailure
- Must implement the equals method since it is used to filter failure events
- Specified by:
equals
in interface SlaEnforcementFailure
- Overrides:
equals
in class Object
Copyright © GigaSpaces.