RedisCacheSynchronizerConfiguration Class
Options for Metalama.Patterns.Caching.Backends.Redis.RedisCacheSynchronizer.
Implements
Namespace: Metalama.Patterns.Caching.Backends.Redis
Assembly: Metalama.Patterns.Caching.Backends.Redis.dll
Syntax
public sealed class RedisCacheSynchronizerConfiguration : CacheSynchronizerConfiguration
Constructors
Name | Description |
---|---|
RedisCacheSynchronizerConfiguration(ConfigurationOptions, String) | |
RedisCacheSynchronizerConfiguration(IConnectionMultiplexer, String) |
Properties
Name | Description |
---|---|
ChannelName | Gets or sets the name of the Redis channel to use to exchange invalidation messages. The default value is |
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.) |
EqualityContract | |
LogRedisConnection | Gets or sets a value indicating whether the logs of the StackExchange.Redis.ConnectionMultiplexer should be captured and
redirected. The default value is |
OwnsConnection | Gets or sets a value indicating whether determines whether disposing the Metalama.Patterns.Caching.Backends.Redis.RedisCacheSynchronizer also disposes the Redis connection. The default value is |
Methods
Name | Description |
---|---|
<Clone>$() | |
Equals(RedisCacheSynchronizerConfiguration) | |
Equals(CacheSynchronizerConfiguration) | |
Equals(Object) | |
GetHashCode() | |
PrintMembers(StringBuilder) | |
ToString() |
Operators
Name | Description |
---|---|
Equality(RedisCacheSynchronizerConfiguration, RedisCacheSynchronizerConfiguration) | |
Inequality(RedisCacheSynchronizerConfiguration, RedisCacheSynchronizerConfiguration) |