class Redis
def slowlog(subcommand, length = nil)
-
(Array
- depends on subcommand, Integer, String)
Parameters:
-
length
(Integer
) -- 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