module RedisCluster class Configuration HASH_SLOTS = 16384 DEFAULT_TIMEOUT = 1 SUPPORT_SINGLE_NODE_METHODS = %w( persist expire expireat ttl pexpire pexpireat pttl dump restore del exists move type decr decrby incr incrby incrbyfloat set setex psetex setnx get setrange getrange setbit getbit append bitcount bitpos getset strlen [] []= llen lpush lpushx rpush rpushx lpop rpop blpop brpop lindex linsert lrange lrem lset ltrim scard sadd srem spop srandmember sismember smembers zcard zadd zincrby zrem zscore zrange zrevrange zrank zrevrank zremrangebyrank zrangebyscore zrevrangebyscore zremrangebyscore zcount hlen hset hsetnx hmset mapped_hmset hget hmget mapped_hmget hdel hexists hincrby hincrbyfloat hkeys hvals hgetall publish pfadd ).freeze SUPPORT_MULTI_NODE_METHODS = %w(keys script multi pipelined).freeze def self.method_names SUPPORT_SINGLE_NODE_METHODS + SUPPORT_MULTI_NODE_METHODS end end end