Open sandboxFocus

Class RedisCacheInvalidatorOptions

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

Gets or sets the name of the Redis channel that is used to exchange invalidation messages. The default value is RedisCacheInvalidator.

ConnectionTimeout

Gets or sets the time that the Redis invalidator waits for a Redis connection. When you create a new Redis invalidator, a TimeoutException is thrown if it does not connect to a Redis server within this time.

OwnsConnection

Gets or sets a value indicating whether disposing the RedisCacheInvalidator also disposes the Redis connection. The default value is false.

See Also