MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​Backends.​RedisRedis­Cache­Synchronizer­Configuration
Open sandboxFocus

RedisCacheSynchronizerConfiguration Class

Options for Metalama.Patterns.Caching.Backends.Redis.RedisCacheSynchronizer.

Inheritance
System.Object
RedisCacheSynchronizerConfiguration
Implements
System.IEquatable<CacheSynchronizerConfiguration>
System.IEquatable<RedisCacheSynchronizerConfiguration>
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 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.)

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 false.

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 false.

Methods

Name Description
<Clone>$()
Equals(RedisCacheSynchronizerConfiguration)
Equals(CacheSynchronizerConfiguration)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(RedisCacheSynchronizerConfiguration, RedisCacheSynchronizerConfiguration)
Inequality(RedisCacheSynchronizerConfiguration, RedisCacheSynchronizerConfiguration)