An observer that receives notifications about events occurring in RedisCacheDependencyGarbageCollector. Derive from this class and register it with the service provider to receive notifications.
Namespace: Metalama.Patterns.Caching.Backends.Redis.Observing
Assembly: Metalama.Patterns.Caching.Backends.Redis.dll
Syntax
public class RedisCacheDependencyGarbageCollectorObserverConstructors
| Name | Description |
|---|---|
| RedisCacheDependencyGarbageCollectorObserver() |
Methods
| Name | Description |
|---|---|
| OnCacheCleanupFailure(CacheCleanupFailureArgs) | Called when a cache cleanup operation detects unexpected inconsistencies in the cache structure. |
| OnEvictionNotificationReceived(EvictionNotificationReceivedArgs) | Called when an eviction notification is received from Redis keyspace notifications. |