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

« back to all changes in this revision

Viewing changes to lib/ServiceStack/src/ServiceStack.Interfaces/Redis/Generic/IRedisTypedQueueableOperation.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.Generic
 
5
{
 
6
    /// <summary>
 
7
    /// interface to queueable operation using typed redis client
 
8
    /// </summary>
 
9
    /// <typeparam name="T"></typeparam>
 
10
    public interface IRedisTypedQueueableOperation<T>
 
11
    {
 
12
        void QueueCommand(Action<IRedisTypedClient<T>> command);
 
13
        void QueueCommand(Action<IRedisTypedClient<T>> command, Action onSuccessCallback);
 
14
        void QueueCommand(Action<IRedisTypedClient<T>> command, Action onSuccessCallback, Action<Exception> onErrorCallback);
 
15
 
 
16
        void QueueCommand(Func<IRedisTypedClient<T>, int> command);
 
17
        void QueueCommand(Func<IRedisTypedClient<T>, int> command, Action<int> onSuccessCallback);
 
18
        void QueueCommand(Func<IRedisTypedClient<T>, int> command, Action<int> onSuccessCallback, Action<Exception> onErrorCallback);
 
19
 
 
20
        void QueueCommand(Func<IRedisTypedClient<T>, long> command);
 
21
        void QueueCommand(Func<IRedisTypedClient<T>, long> command, Action<long> onSuccessCallback);
 
22
        void QueueCommand(Func<IRedisTypedClient<T>, long> command, Action<long> onSuccessCallback, Action<Exception> onErrorCallback);
 
23
 
 
24
        void QueueCommand(Func<IRedisTypedClient<T>, bool> command);
 
25
        void QueueCommand(Func<IRedisTypedClient<T>, bool> command, Action<bool> onSuccessCallback);
 
26
        void QueueCommand(Func<IRedisTypedClient<T>, bool> command, Action<bool> onSuccessCallback, Action<Exception> onErrorCallback);
 
27
 
 
28
        void QueueCommand(Func<IRedisTypedClient<T>, double> command);
 
29
        void QueueCommand(Func<IRedisTypedClient<T>, double> command, Action<double> onSuccessCallback);
 
30
        void QueueCommand(Func<IRedisTypedClient<T>, double> command, Action<double> onSuccessCallback, Action<Exception> onErrorCallback);
 
31
 
 
32
        void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command);
 
33
        void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command, Action<byte[]> onSuccessCallback);
 
34
        void QueueCommand(Func<IRedisTypedClient<T>, byte[]> command, Action<byte[]> onSuccessCallback, Action<Exception> onErrorCallback);
 
35
 
 
36
        void QueueCommand(Func<IRedisTypedClient<T>, string> command);
 
37
        void QueueCommand(Func<IRedisTypedClient<T>, string> command, Action<string> onSuccessCallback);
 
38
        void QueueCommand(Func<IRedisTypedClient<T>, string> command, Action<string> onSuccessCallback, Action<Exception> onErrorCallback);
 
39
 
 
40
        void QueueCommand(Func<IRedisTypedClient<T>, T> command);
 
41
        void QueueCommand(Func<IRedisTypedClient<T>, T> command, Action<T> onSuccessCallback);
 
42
        void QueueCommand(Func<IRedisTypedClient<T>, T> command, Action<T> onSuccessCallback, Action<Exception> onErrorCallback);
 
43
 
 
44
        void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command);
 
45
        void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command, Action<List<string>> onSuccessCallback);
 
46
        void QueueCommand(Func<IRedisTypedClient<T>, List<string>> command, Action<List<string>> onSuccessCallback, Action<Exception> onErrorCallback);
 
47
 
 
48
        void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command);
 
49
        void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command, Action<List<T>> onSuccessCallback);
 
50
        void QueueCommand(Func<IRedisTypedClient<T>, List<T>> command, Action<List<T>> onSuccessCallback, Action<Exception> onErrorCallback);
 
51
                
 
52
    }
 
53
}