|
1 | 1 | // |
2 | | -// http://code.google.com/p/servicestack/wiki/ServiceStackRedis |
| 2 | +// https://github.com/ServiceStack/ServiceStack.Redis/ |
3 | 3 | // ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system |
4 | 4 | // |
5 | 5 | // Authors: |
6 | 6 | // Demis Bellot (demis.bellot@gmail.com) |
7 | 7 | // |
8 | | -// Copyright 2010 Liquidbit Ltd. |
| 8 | +// Copyright 2013 ServiceStack. |
9 | 9 | // |
10 | 10 | // Licensed under the same terms of Redis and ServiceStack: new BSD license. |
11 | 11 | // |
@@ -183,10 +183,15 @@ public interface IRedisNativeClient |
183 | 183 | byte[][] PUnSubscribe(params string[] toChannelsMatchingPatterns); |
184 | 184 | byte[][] ReceiveMessages(); |
185 | 185 |
|
186 | | - int EvalInt(string body, int numberKeysInArgs, params byte[][] keys); |
187 | | - string EvalStr(string body, int numberKeysInArgs, params byte[][] keys); |
188 | | - byte[][] Eval(string body, int numberKeysInArgs, params byte[][] keys); |
189 | | - byte[][] ScriptExists(params byte[][] sha1Refs); |
| 186 | + //Redis LUA support |
| 187 | + int EvalInt(string luaBody, int numberKeysInArgs, params byte[][] keys); |
| 188 | + int EvalShaInt(string sha1, int numberKeysInArgs, params byte[][] keys); |
| 189 | + string EvalStr(string luaBody, int numberKeysInArgs, params byte[][] keys); |
| 190 | + string EvalShaStr(string sha1, int numberKeysInArgs, params byte[][] keys); |
| 191 | + byte[][] Eval(string luaBody, int numberKeysInArgs, params byte[][] keys); |
| 192 | + byte[][] EvalSha(string sha1, int numberKeysInArgs, params byte[][] keys); |
| 193 | + |
| 194 | + byte[][] ScriptExists(params byte[][] sha1Refs); |
190 | 195 | void ScriptFlush(); |
191 | 196 | void ScriptKill(); |
192 | 197 | byte[] ScriptLoad(string body); |
|
0 commit comments