org.openspaces.grid.gsm.machines.exceptions
Class FailedGridServiceAgentReconnectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
org.openspaces.grid.gsm.machines.exceptions.GridServiceAgentSlaEnforcementInProgressException
org.openspaces.grid.gsm.machines.exceptions.FailedGridServiceAgentReconnectedException
- All Implemented Interfaces:
- Serializable, SlaEnforcementFailure
public class FailedGridServiceAgentReconnectedException
- extends GridServiceAgentSlaEnforcementInProgressException
- implements SlaEnforcementFailure
An exception that is caused when an agent considered to be failed, is actually discovered.
This is a problem when a new machine was started to replace that failed agent.
- Since:
- 9.7
- Author:
- itaif
- See Also:
- Serialized Form
FailedGridServiceAgentReconnectedException
public FailedGridServiceAgentReconnectedException(ProcessingUnit pu,
GridServiceAgent newAgent,
FailedGridServiceAgent failedAgent,
GridServiceAgent reconnectedFailedAgent)
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
getNewAgent
public GridServiceAgent getNewAgent()
getOldAgent
public GridServiceAgent getOldAgent()
Copyright © GigaSpaces.