public void ListLeftPush(string key, string val) { _cache.ListLeftPush(key, val); }
/// <summary> /// 在列表头部插入值。如果键不存在,先创建再插入值 /// </summary> /// <param name="redisKey"></param> /// <param name="redisValue"></param> /// <returns></returns> public long ListLeftPush(string redisKey, string redisValue) { redisKey = GetKeyForRedis(redisKey); return(_database.ListLeftPush(redisKey, redisValue)); }