Example #1
0
        public RedisGetUTF8String(string key, RedisCommandCallBackStringFunc commandCallBack, params object[] argv)
            : base(commandCallBack != null)
        {
            m_key                 = key;
            m_commandCallBack     = commandCallBack;
            m_commandCallBackArgv = argv;
#if RedisCommandSpendTime
            m_sw.Start();
#endif
        }
Example #2
0
        public RedisHashGetKeyValue(string hashID, string key, RedisCommandCallBackStringFunc commandCallBack, params object[] argv)
            : base(commandCallBack != null)
        {
            m_hashID              = hashID;
            m_key                 = key;
            m_commandCallBack     = commandCallBack;
            m_commandCallBackArgv = argv;
#if RedisCommandSpendTime
            m_sw.Start();
#endif
        }
Example #3
0
        public RedisLuaExecAsString(LuaScriptData script, ref string[] luaArgv, RedisCommandCallBackStringFunc commandCallBack, params object[] argv)
            : base(commandCallBack != null)
        {
            m_script              = script;
            m_luaArgv             = luaArgv;
            m_commandCallBack     = commandCallBack;
            m_commandCallBackArgv = argv;
#if RedisCommandSpendTime
            m_sw.Start();
#endif
        }