2
// https://github.com/mythz/ServiceStack.Redis
3
// ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system
6
// Demis Bellot (demis.bellot@gmail.com)
8
// Copyright 2010 Liquidbit Ltd.
10
// Licensed under the same terms of Redis and ServiceStack: new BSD license.
14
using ServiceStack.CacheAccess;
16
namespace ServiceStack.Redis
18
public interface IRedisClientsManager : IDisposable
21
/// Returns a Read/Write client (The default) using the hosts defined in ReadWriteHosts
23
/// <returns></returns>
24
IRedisClient GetClient();
27
/// Returns a ReadOnly client using the hosts defined in ReadOnlyHosts.
29
/// <returns></returns>
30
IRedisClient GetReadOnlyClient();
33
/// Returns a Read/Write ICacheClient (The default) using the hosts defined in ReadWriteHosts
35
/// <returns></returns>
36
ICacheClient GetCacheClient();
39
/// Returns a ReadOnly ICacheClient using the hosts defined in ReadOnlyHosts.
41
/// <returns></returns>
42
ICacheClient GetReadOnlyCacheClient();
b'\\ No newline at end of file'