Skip to main content

IRedisClientsManager

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public interface IRedisClientsManager : IDisposable

Properties​

RedisResolver​

Resolver strategy for resolving hosts and creating clients

View Source​
Declaration
IRedisResolver RedisResolver { get; }

Methods​

GetClient()​

Returns a Read/Write client (The default) using the hosts defined in ReadWriteHosts

View Source​
Declaration
IRedisClient GetClient()
Returns​

ServiceStack.Redis.IRedisClient

GetReadOnlyClient()​

Returns a ReadOnly client using the hosts defined in ReadOnlyHosts.

View Source​
Declaration
IRedisClient GetReadOnlyClient()
Returns​

ServiceStack.Redis.IRedisClient

GetCacheClient()​

Returns a Read/Write ICacheClient (The default) using the hosts defined in ReadWriteHosts

View Source​
Declaration
ICacheClient GetCacheClient()
Returns​

ServiceStack.Caching.ICacheClient

GetReadOnlyCacheClient()​

Returns a ReadOnly ICacheClient using the hosts defined in ReadOnlyHosts.

View Source​
Declaration
ICacheClient GetReadOnlyCacheClient()
Returns​

ServiceStack.Caching.ICacheClient