RedisCacheDependencyGarbageCollector.PerformFullCollectionAsync Method (RedisCachingBackend, IServer, CancellationToken) |
Namespace: PostSharp.Patterns.Caching.Backends.Redis
Assembly: PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static Task PerformFullCollectionAsync( RedisCachingBackend backend, IServer server, CancellationToken cancellationToken = null )
Parameters
- backend
- Type: PostSharp.Patterns.Caching.Backends.Redis.RedisCachingBackend
A RedisCachingBackend that supports dependencies. - server
- Type: IServer
The Redis server whose keys will be enumerated and validated. - cancellationToken (Optional)
- Type: System.Threading.CancellationToken
A CancellationToken.
Return Value
Type: TaskA Task.