GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.machines.exceptions
Class FailedToStartNewGridServiceAgentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
              extended by org.openspaces.grid.gsm.machines.exceptions.GridServiceAgentSlaEnforcementInProgressException
                  extended by org.openspaces.grid.gsm.machines.exceptions.FailedToStartNewGridServiceAgentException
All Implemented Interfaces:
Serializable, SlaEnforcementFailure, SlaEnforcementLoggerBehavior

public class FailedToStartNewGridServiceAgentException
extends GridServiceAgentSlaEnforcementInProgressException
implements SlaEnforcementFailure, SlaEnforcementLoggerBehavior

Since:
9.1.0
Author:
Itai Frenkel
See Also:
Serialized Form

Constructor Summary
FailedToStartNewGridServiceAgentException(ProcessingUnit pu, Exception cause)
           
 
Method Summary
 boolean isAlwaysLogDuplicateException()
           
 boolean isAlwaysLogStackTrace()
           
 org.openspaces.admin.internal.pu.elastic.events.InternalElasticProcessingUnitFailureEvent toEvent()
           
 
Methods inherited from class org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementInProgressException
equals, fillInStackTrace, getProcessingUnitName, hashCode
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openspaces.grid.gsm.sla.exceptions.SlaEnforcementFailure
equals, getProcessingUnitName
 

Constructor Detail

FailedToStartNewGridServiceAgentException

public FailedToStartNewGridServiceAgentException(ProcessingUnit pu,
                                                 Exception cause)
Method Detail

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.