org.openspaces.grid.gsm.machines.backup
Class MachinesStateBackupFailureException
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.backup.MachinesStateBackupFailureException
- All Implemented Interfaces:
- Serializable, SlaEnforcementFailure, SlaEnforcementLoggerBehavior
public class MachinesStateBackupFailureException
- extends GridServiceAgentSlaEnforcementInProgressException
- implements SlaEnforcementFailure, SlaEnforcementLoggerBehavior
- Since:
- 9.7
- Author:
- itaif
- See Also:
- Serialized Form
MachinesStateBackupFailureException
public MachinesStateBackupFailureException(ProcessingUnit pu,
Throwable cause)
toEvent
public org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitFailureEvent toEvent()
- Specified by:
toEvent
in interface SlaEnforcementFailure
isAlwaysLogStackTrace
public boolean isAlwaysLogStackTrace()
- Specified by:
isAlwaysLogStackTrace
in interface SlaEnforcementLoggerBehavior
- Returns:
- true - if exception stack trace should always be logged, regardless of the logging level
false - exception stack trace is logged depending on logging level
isAlwaysLogDuplicateException
public boolean isAlwaysLogDuplicateException()
- Specified by:
isAlwaysLogDuplicateException
in interface SlaEnforcementLoggerBehavior
- Returns:
- true - if exception should be logged, even if the last exception logged equals this exception
false - exception is logged only if not equals last logged exception
Copyright © GigaSpaces.