class Redis
def slowlog(subcommand, length=nil)
-
(Array
- depends on subcommand, Fixnum, String)
Parameters:
-
length
(Fixnum
) -- maximum number of entries to return -
subcommand
(String
) -- e.g. `get`, `len`, `reset`
def slowlog(subcommand, length=nil) synchronize do |client| args = [:slowlog, subcommand] args << length if length client.call args end end