Skip to content

RedisClusteringOptions Properties

Options for Redis clustering.

CreateMultiplexer

getset
View source
public Func<RedisClusteringOptions, Task<(IConnectionMultiplexer Multiplexer, bool IsShared)>> RedisClusteringOptions.CreateMultiplexer
The delegate used to create a Redis connection multiplexer and indicate whether it is shared.

CreateRedisKey

getset
View source
public Func<ClusterOptions, RedisKey> CreateRedisKey
The delegate used to create redis key for RedisMembershipTable.

EntryExpiry

getset
View source
public TimeSpan? EntryExpiry
Entry expiry, null by default. A value should be set ONLY for ephemeral environments (like in tests). Setting a value different from null will cause entries to be deleted after some period of time.