Example #1
0
 public static ItemRef BlockingRemoveStartFromLists(string[] listIds, TimeSpan?timeOut)
 {
     using (RedisClient client = GetClient())
     {
         return(client.BlockingRemoveStartFromLists(listIds, timeOut));
     }
 }
Example #2
0
 /// <summary>
 /// 阻塞命令:从list中key的头部移除一个值,并返回移除的值,阻塞时间为sp
 /// </summary>
 public ItemRef BlockingRemoveStartFromLists(string[] keys, TimeSpan?sp)
 {
     return(RedisClient.BlockingRemoveStartFromLists(keys, sp));
 }