org.openspaces.grid.gsm.autoscaling.exceptions
Class ReachedMaximumCapacityAutoScalingException
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.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
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()
|
ReachedMaximumCapacityAutoScalingException
public ReachedMaximumCapacityAutoScalingException(ProcessingUnit pu,
CapacityRequirements existingCapacity,
CapacityRequirements newCapacity,
CapacityRequirements maxCapacity,
long containerCapacityInMB)
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
Copyright © GigaSpaces.