GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.autoscaling.exceptions
Class AutoScalingConfigConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
              extended by org.openspaces.grid.gsm.autoscaling.exceptions.AutoScalingSlaEnforcementInProgressException
                  extended by org.openspaces.grid.gsm.autoscaling.exceptions.AutoScalingConfigConflictException
All Implemented Interfaces:
Serializable, SlaEnforcementFailure

public class AutoScalingConfigConflictException
extends AutoScalingSlaEnforcementInProgressException
implements SlaEnforcementFailure

an exception that is raised if the autoscaling configuration parameters causes an un resolvable conflict in the Minimum/Maximum Capacity requirements for a specific zone.

Author:
elip
See Also:
Serialized Form

Constructor Summary
AutoScalingConfigConflictException(ProcessingUnit pu, CapacityRequirements minimum, CapacityRequirements maximum, Set<String> zones, CapacityRequirementsPerZones lastEnforcedCapacityPerZones, CapacityRequirementsPerZones newCapacityRequirementsPerZones)
           
 
Method Summary
 boolean equals(Object obj)
          Must implement the equals method since it is used to filter failure events
 int hashCode()
           
 org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitFailureEvent toEvent()
           
 
Methods inherited from class org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
fillInStackTrace, getProcessingUnitName
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementFailure
getProcessingUnitName
 

Constructor Detail

AutoScalingConfigConflictException

public AutoScalingConfigConflictException(ProcessingUnit pu,
                                          CapacityRequirements minimum,
                                          CapacityRequirements maximum,
                                          Set<String> zones,
                                          CapacityRequirementsPerZones lastEnforcedCapacityPerZones,
                                          CapacityRequirementsPerZones newCapacityRequirementsPerZones)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class SlaEnforcementInProgressException

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 SlaEnforcementInProgressException

toEvent

public org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitFailureEvent toEvent()
Specified by:
toEvent in interface SlaEnforcementFailure

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.