Skip to main content

IRedisResolverExtended

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public interface IRedisResolverExtended : IRedisResolver

Properties

Masters

View Source
Declaration
RedisEndpoint[] Masters { get; }

ClientFactory

View Source
Declaration
Func<RedisEndpoint, RedisClient> ClientFactory { get; set; }

Methods

CreateMasterClient(Int32)

View Source
Declaration
RedisClient CreateMasterClient(int desiredIndex)
Returns

ServiceStack.Redis.RedisClient

Parameters
TypeName
System.Int32desiredIndex

CreateSlaveClient(Int32)

View Source
Declaration
RedisClient CreateSlaveClient(int desiredIndex)
Returns

ServiceStack.Redis.RedisClient

Parameters
TypeName
System.Int32desiredIndex

CreateRedisClient(RedisEndpoint, Boolean)

View Source
Declaration
RedisClient CreateRedisClient(RedisEndpoint config, bool master)
Returns

ServiceStack.Redis.RedisClient

Parameters
TypeName
ServiceStack.Redis.RedisEndpointconfig
System.Booleanmaster

GetReadWriteHost(Int32)

View Source
Declaration
RedisEndpoint GetReadWriteHost(int desiredIndex)
Returns

ServiceStack.Redis.RedisEndpoint

Parameters
TypeName
System.Int32desiredIndex

GetReadOnlyHost(Int32)

View Source
Declaration
RedisEndpoint GetReadOnlyHost(int desiredIndex)
Returns

ServiceStack.Redis.RedisEndpoint

Parameters
TypeName
System.Int32desiredIndex