RedisCachingFactory.WithRedisSynchronization Method
Enhances an in-memory cache with a component that synchronizes several local, in-memory caches, using Redis Pub/Sub, given an StackExchange.Redis.IConnectionMultiplexer.
Declaration
public static RedisCacheSynchronizerBuilder WithRedisSynchronization(this MemoryCachingBackendBuilder builder, RedisCacheSynchronizerConfiguration configuration)
Parameters
Returns
Enhances an in-memory cache with a component that synchronizes several local, in-memory caches, using Redis Pub/Sub, given
a Redis StackExchange.Redis.ConfigurationOptions object.
Declaration
public static RedisCacheSynchronizerBuilder WithRedisSynchronization(this MemoryCachingBackendBuilder builder, ConfigurationOptions redisOptions, RedisCacheSynchronizerConfiguration configuration)
Parameters
Returns