Open sandboxFocus

Class RedisCacheDependencyGarbageCollectorObserver

An observer that receives notifications about events occurring in RedisCacheDependencyGarbageCollector. Derive from this class and register it with the service provider to receive notifications.

Inheritance
RedisCacheDependencyGarbageCollectorObserver
Namespace: Metalama.Patterns.Caching.Backends.Redis.Observing
Assembly: Metalama.Patterns.Caching.Backends.Redis.dll
Syntax
public class RedisCacheDependencyGarbageCollectorObserver

Constructors

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.

Extension Methods