module Cluster
Definitions
def cluster(subcommand, *args)
Sends the CLUSTER *
command to random node and returns its reply.
e.g. :addslots
, :delslots
, :nodes
, :replicas
, :info
Implementation
def cluster(subcommand, *args)
call("CLUSTER", subcommand.to_s, *args)
end
def asking
Sends ASKING
command to random node and returns its reply.
Implementation
def asking
call("ASKING")
end