PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Cache­Invalidator­Options Class / Redis­Cache­Invalidator­Options Properties

RedisCacheInvalidatorOptions Properties

The RedisCacheInvalidatorOptions type exposes the following members.

Public propertyChannelName
Name of the Redis channel to use to exchange invalidation messages. The default value is RedisCacheInvalidator.
Public propertyConnectionTimeout
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.)
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.)
See Also