PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace/Redis­Cache­Invalidator­Options Class

RedisCacheInvalidatorOptions Class

Options for RedisCacheInvalidator.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.Implementation.CacheInvalidatorOptions
    PostSharp.Patterns.Caching.Backends.Redis.RedisCacheInvalidatorOptions

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public class RedisCacheInvalidatorOptions : CacheInvalidatorOptions

The RedisCacheInvalidatorOptions type exposes the following members.

Constructors
  NameDescription
Public methodRedisCacheInvalidatorOptions
Initializes a new instance of the RedisCacheInvalidatorOptions class
Properties
  NameDescription
Public propertyChannelName
Name of the Redis channel to use to exchange invalidation messages. The default value is RedisCacheInvalidator.
Public propertyOwnsConnection
Determines whether disposing the RedisCacheInvalidator also disposes the Redis connection. The default value is false.
Public propertyPrefix
Gets or sets the prefix of messages sent by the CacheInvalidator. Messages received by the OnMessageReceived(String) method are ignored if they don't start with the proper prefix.
(Inherited from CacheInvalidatorOptions.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also