Ejemplo n.º 1
0
 public static RedisObject SlowLog(RedisSlowLog subCommand, string argument = null)
 {
     if (argument == null)
     {
         return(new RedisObject("SLOWLOG", subCommand.ToString().ToUpper()));
     }
     else
     {
         return(new RedisObject("SLOWLOG", subCommand.ToString().ToUpper(), argument));
     }
 }
Ejemplo n.º 2
0
 public Task <object> SlowLog(RedisSlowLog subCommand, string argument = null)
 {
     return(Write(RedisCommand.SlowLog(subCommand, argument)));
 }