GigaSpaces XAP 9.7.2 API

org.openspaces.grid.gsm.sla.exceptions
Interface SlaEnforcementLoggerBehavior

All Known Implementing Classes:
BlockingAfterPropertiesSetFailedException, CloudCleanupFailedException, ExpectedMachineWithMoreMemoryException, FailedToStartNewGridServiceAgentException, FailedToStartNewMachineException, FailedToStopMachineException, MachineFailureHandlingFailedException, MachinesStateBackupFailureException, MachinesStateRecoveryFailureException

public interface SlaEnforcementLoggerBehavior

Since:
9.1.0 This interface marks an exception that need to log its stack trace on any loggin level.
Author:
Itai Frenkel

Method Summary
 boolean isAlwaysLogDuplicateException()
           
 boolean isAlwaysLogStackTrace()
           
 

Method Detail

isAlwaysLogStackTrace

boolean isAlwaysLogStackTrace()
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

boolean isAlwaysLogDuplicateException()
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.