PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Cache­Invalidator­Options
Open sandboxFocus

RedisCacheInvalidatorOptions Class

Options for RedisCacheInvalidator.

Inheritance
RedisCacheInvalidatorOptions
Namespace: PostSharp.Patterns.Caching.Backends.Redis
Assembly: PostSharp.Patterns.Caching.Backends.Redis.dll
Syntax
public class RedisCacheInvalidatorOptions : CacheInvalidatorOptions

Constructors

Name Description
RedisCacheInvalidatorOptions()

Properties

Name Description
ChannelName

Name of the Redis channel to use to exchange invalidation messages. The default value is RedisCacheInvalidator.

ConnectionTimeout

Gets or sets the time that the Redis invalidator will wait for a Redis connection. (When you create a new Redis invalidator, if it doesn't connect to a Redis server in this timeout, a TimeoutException is thrown.)

OwnsConnection

Determines whether disposing the RedisCacheInvalidator also disposes the Redis connection. The default value is false.