MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Backends.​RedisRedis­Cache­Dependency­Garbage­Collector
Open sandboxFocus

RedisCacheDependencyGarbageCollector Class

Inheritance
RedisCacheDependencyGarbageCollector
Implements
Microsoft.Extensions.Hosting.IHostedService
System.IDisposable
System.IAsyncDisposable
Namespace: Metalama.Patterns.Caching.Backends.Redis
Assembly: Metalama.Patterns.Caching.Backends.Redis.dll
Syntax
public sealed class RedisCacheDependencyGarbageCollector : Object

Properties

Name Description
Database

Gets the Redis StackExchange.Redis.IDatabase used by the current object.

Methods

Name Description
Dispose()

Disposes the current object.

DisposeAsync()
DisposeAsync(CancellationToken)

Asynchronously disposes the current object.

Initialize()
InitializeAsync(CancellationToken)
PerformFullCollectionAsync(CancellationToken)