GigaSpaces XAP 9.0 API

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

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.ReachedMaximumCapacityAutoScalingException
All Implemented Interfaces:
Serializable, SlaEnforcementFailure

public class ReachedMaximumCapacityAutoScalingException
extends AutoScalingSlaEnforcementInProgressException
implements SlaEnforcementFailure

An exception raised when autoscaling can no longer increase capacity since it reached the limit maximum.

Since:
9.0.0
Author:
itaif
See Also:
Serialized Form

Constructor Summary
ReachedMaximumCapacityAutoScalingException(ProcessingUnit pu, CapacityRequirements existingCapacity, CapacityRequirements newCapacity, CapacityRequirements maxCapacity)
           
 
Method Summary
 boolean equals(Object obj)
          Must implement the equals method since it is used to filter failure events
 String[] getAffectedProcessingUnits()
           
 int hashCode()
           
 
Methods inherited from class org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
fillInStackTrace
 
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
 

Constructor Detail

ReachedMaximumCapacityAutoScalingException

public ReachedMaximumCapacityAutoScalingException(ProcessingUnit pu,
                                                  CapacityRequirements existingCapacity,
                                                  CapacityRequirements newCapacity,
                                                  CapacityRequirements maxCapacity)
Method Detail

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

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.