1 /* 2 * Hunt - A redis client library for D programming language. 3 * 4 * Copyright (C) 2018-2019 HuntLabs 5 * 6 * Website: https://www.huntlabs.net/ 7 * 8 * Licensed under the Apache-2.0 License. 9 * 10 */ 11 12 module hunt.redis.commands.RedisClusterScriptingCommands; 13 14 import hunt.collection.List; 15 import hunt.Boolean; 16 17 18 interface RedisClusterScriptingCommands { 19 // Object eval(string script, int keyCount, string[] params...); 20 21 // Object eval(string script, List!(string) keys, List!(string) args); 22 23 // /** 24 // * @param script 25 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 26 // * @return 27 // */ 28 // Object eval(string script, string sampleKey); 29 30 // /** 31 // * @param sha1 32 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 33 // * @return 34 // */ 35 // Object evalsha(string sha1, string sampleKey); 36 37 // Object evalsha(string sha1, List!(string) keys, List!(string) args); 38 39 // Object evalsha(string sha1, int keyCount, string[] params...); 40 41 // /** 42 // * @param sha1 43 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 44 // * @return 45 // */ 46 // bool scriptExists(string sha1, string sampleKey); 47 48 // /** 49 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 50 // * @param sha1 51 // * @return 52 // */ 53 // bool[] scriptExists(string sampleKey, string[] sha1...); 54 55 // /** 56 // * @param script 57 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 58 // * @return 59 // */ 60 // string scriptLoad(string script, string sampleKey); 61 62 // /** 63 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 64 // * @return 65 // */ 66 // string scriptFlush(string sampleKey); 67 68 // /** 69 // * @param sampleKey Command will be executed in the node where the hash slot of this key is assigned to 70 // * @return 71 // */ 72 // string scriptKill(string sampleKey); 73 }