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

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/Redis/Pipeline/IRedisQueueableOperation.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
using System;
 
2
using System.Collections.Generic;
 
3
 
 
4
namespace ServiceStack.Redis.Pipeline
 
5
{
 
6
        /// <summary>
 
7
        /// interface to operation that can queue commands
 
8
        /// </summary>
 
9
        public interface IRedisQueueableOperation
 
10
        {
 
11
                void QueueCommand(Action<IRedisClient> command);
 
12
                void QueueCommand(Action<IRedisClient> command, Action onSuccessCallback);
 
13
                void QueueCommand(Action<IRedisClient> command, Action onSuccessCallback, Action<Exception> onErrorCallback);
 
14
 
 
15
                void QueueCommand(Func<IRedisClient, int> command);
 
16
                void QueueCommand(Func<IRedisClient, int> command, Action<int> onSuccessCallback);
 
17
                void QueueCommand(Func<IRedisClient, int> command, Action<int> onSuccessCallback, Action<Exception> onErrorCallback);
 
18
 
 
19
                void QueueCommand(Func<IRedisClient, long> command);
 
20
                void QueueCommand(Func<IRedisClient, long> command, Action<long> onSuccessCallback);
 
21
                void QueueCommand(Func<IRedisClient, long> command, Action<long> onSuccessCallback, Action<Exception> onErrorCallback);
 
22
 
 
23
                void QueueCommand(Func<IRedisClient, bool> command);
 
24
                void QueueCommand(Func<IRedisClient, bool> command, Action<bool> onSuccessCallback);
 
25
                void QueueCommand(Func<IRedisClient, bool> command, Action<bool> onSuccessCallback, Action<Exception> onErrorCallback);
 
26
 
 
27
                void QueueCommand(Func<IRedisClient, double> command);
 
28
                void QueueCommand(Func<IRedisClient, double> command, Action<double> onSuccessCallback);
 
29
                void QueueCommand(Func<IRedisClient, double> command, Action<double> onSuccessCallback, Action<Exception> onErrorCallback);
 
30
 
 
31
                void QueueCommand(Func<IRedisClient, byte[]> command);
 
32
                void QueueCommand(Func<IRedisClient, byte[]> command, Action<byte[]> onSuccessCallback);
 
33
                void QueueCommand(Func<IRedisClient, byte[]> command, Action<byte[]> onSuccessCallback, Action<Exception> onErrorCallback);
 
34
 
 
35
        void QueueCommand(Func<IRedisClient, byte[][]> command);
 
36
        void QueueCommand(Func<IRedisClient, byte[][]> command, Action<byte[][]> onSuccessCallback);
 
37
        void QueueCommand(Func<IRedisClient, byte[][]> command, Action<byte[][]> onSuccessCallback, Action<Exception> onErrorCallback);
 
38
 
 
39
 
 
40
                void QueueCommand(Func<IRedisClient, string> command);
 
41
                void QueueCommand(Func<IRedisClient, string> command, Action<string> onSuccessCallback);
 
42
                void QueueCommand(Func<IRedisClient, string> command, Action<string> onSuccessCallback, Action<Exception> onErrorCallback);
 
43
 
 
44
                void QueueCommand(Func<IRedisClient, List<string>> command);
 
45
                void QueueCommand(Func<IRedisClient, List<string>> command, Action<List<string>> onSuccessCallback);
 
46
                void QueueCommand(Func<IRedisClient, List<string>> command, Action<List<string>> onSuccessCallback, Action<Exception> onErrorCallback);
 
47
                
 
48
        }
 
49
}
 
 
b'\\ No newline at end of file'