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
Type | Name |
---|---|
System.Int32 | desiredIndex |
CreateSlaveClient(Int32)
View Source
Declaration
RedisClient CreateSlaveClient(int desiredIndex)
Returns
ServiceStack.Redis.RedisClient
Parameters
Type | Name |
---|---|
System.Int32 | desiredIndex |
CreateRedisClient(RedisEndpoint, Boolean)
View Source
Declaration
RedisClient CreateRedisClient(RedisEndpoint config, bool master)
Returns
ServiceStack.Redis.RedisClient
Parameters
Type | Name |
---|---|
ServiceStack.Redis.RedisEndpoint | config |
System.Boolean | master |
GetReadWriteHost(Int32)
View Source
Declaration
RedisEndpoint GetReadWriteHost(int desiredIndex)
Returns
ServiceStack.Redis.RedisEndpoint
Parameters
Type | Name |
---|---|
System.Int32 | desiredIndex |
GetReadOnlyHost(Int32)
View Source
Declaration
RedisEndpoint GetReadOnlyHost(int desiredIndex)
Returns
ServiceStack.Redis.RedisEndpoint
Parameters
Type | Name |
---|---|
System.Int32 | desiredIndex |