public abstract class AutoScalingThresholdBreachedException extends AutoScalingSlaEnforcementInProgressException implements SlaEnforcementDecision
| Constructor and Description | 
|---|
AutoScalingThresholdBreachedException(String message,
                                     ProcessingUnit pu,
                                     CapacityRequirements actual,
                                     CapacityRequirements newPlan,
                                     long containerCapacityInMB,
                                     AutomaticCapacityScaleRuleConfig rule,
                                     boolean highThresholdBreached,
                                     String metricValue)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Must implement the equals method since it is used to filter failure events 
 | 
CapacityRequirements | 
getNewCapacity()  | 
int | 
hashCode()  | 
void | 
setOldPlan(CapacityRequirements oldPlan)  | 
InternalElasticProcessingUnitDecisionEvent | 
toEvent()  | 
fillInStackTrace, getProcessingUnitNameaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetProcessingUnitNamepublic AutoScalingThresholdBreachedException(String message, ProcessingUnit pu, CapacityRequirements actual, CapacityRequirements newPlan, long containerCapacityInMB, AutomaticCapacityScaleRuleConfig rule, boolean highThresholdBreached, String metricValue)
message - - the exception specific messagepu - - the processing unit being monitoredactual - - the actual capacity currently deployednewPlan - - the new planned capacity to be deployedrule - - the rule whos threshold was breachedhighThresholdBreached - - true means high threshold breached, false means low threshold
                              breachedmetricValue - - the metric value that breached the threshold as a string.public CapacityRequirements getNewCapacity()
public int hashCode()
hashCode in class SlaEnforcementInProgressExceptionpublic boolean equals(Object obj)
SlaEnforcementDecisionequals in interface SlaEnforcementDecisionequals in class SlaEnforcementInProgressExceptionpublic void setOldPlan(CapacityRequirements oldPlan)
public InternalElasticProcessingUnitDecisionEvent toEvent()
toEvent in interface SlaEnforcementDecisionCopyright © GigaSpaces.