Exposes a method OnException(CachingExceptionInfo) called when a CachingBackend encounters a recoverable error. The default behavior is to log the error and continue the execution. An application can implement an observer and register it to the IServiceProvider.
Namespace: Metalama.Patterns.Caching.Implementation
Assembly: Metalama.Patterns.Caching.Backend.dll
Syntax
public interface ICachingExceptionObserver
Methods
Name | Description |
---|---|
OnException(CachingExceptionInfo) | Method called when a CachingBackend encounters a recoverable error. |