public class NeedToStartMoreGridServiceAgentsException extends GridServiceAgentSlaEnforcementInProgressException implements SlaEnforcementFailure
Constructor and Description |
---|
NeedToStartMoreGridServiceAgentsException(AbstractMachinesSlaPolicy sla,
MachinesSlaEnforcementState state,
CapacityRequirements capacityShortage,
ProcessingUnit pu) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Must implement the equals method since it is used to filter failure events
|
int |
hashCode() |
InternalElasticProcessingUnitFailureEvent |
toEvent() |
fillInStackTrace, getProcessingUnitName
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProcessingUnitName
public NeedToStartMoreGridServiceAgentsException(AbstractMachinesSlaPolicy sla, MachinesSlaEnforcementState state, CapacityRequirements capacityShortage, ProcessingUnit pu)
public int hashCode()
hashCode
in class SlaEnforcementInProgressException
public boolean equals(Object obj)
SlaEnforcementFailure
equals
in interface SlaEnforcementFailure
equals
in class SlaEnforcementInProgressException
public InternalElasticProcessingUnitFailureEvent toEvent()
toEvent
in interface SlaEnforcementFailure
Copyright © GigaSpaces.