~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/Redis/IRedisClientsManager.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// https://github.com/mythz/ServiceStack.Redis
 
3
// ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system
 
4
//
 
5
// Authors:
 
6
//   Demis Bellot (demis.bellot@gmail.com)
 
7
//
 
8
// Copyright 2010 Liquidbit Ltd.
 
9
//
 
10
// Licensed under the same terms of Redis and ServiceStack: new BSD license.
 
11
//
 
12
 
 
13
using System;
 
14
using ServiceStack.CacheAccess;
 
15
 
 
16
namespace ServiceStack.Redis
 
17
{
 
18
        public interface IRedisClientsManager : IDisposable 
 
19
        {
 
20
                /// <summary>
 
21
                /// Returns a Read/Write client (The default) using the hosts defined in ReadWriteHosts
 
22
                /// </summary>
 
23
                /// <returns></returns>
 
24
                IRedisClient GetClient();
 
25
 
 
26
                /// <summary>
 
27
                /// Returns a ReadOnly client using the hosts defined in ReadOnlyHosts.
 
28
                /// </summary>
 
29
                /// <returns></returns>
 
30
                IRedisClient GetReadOnlyClient();
 
31
 
 
32
                /// <summary>
 
33
                /// Returns a Read/Write ICacheClient (The default) using the hosts defined in ReadWriteHosts
 
34
                /// </summary>
 
35
                /// <returns></returns>
 
36
                ICacheClient GetCacheClient();
 
37
 
 
38
                /// <summary>
 
39
                /// Returns a ReadOnly ICacheClient using the hosts defined in ReadOnlyHosts.
 
40
                /// </summary>
 
41
                /// <returns></returns>
 
42
                ICacheClient GetReadOnlyCacheClient();
 
43
        }
 
44
}
 
 
b'\\ No newline at end of file'