Method: Redis::Distributed#pfcount

Defined in:
lib/redis/distributed.rb

#pfcount(*keys) ⇒ Object

Get the approximate cardinality of members added to HyperLogLog structure.



795
796
797
798
799
# File 'lib/redis/distributed.rb', line 795

def pfcount(*keys)
  ensure_same_node(:pfcount, keys.flatten(1)) do |node|
    node.pfcount(keys)
  end
end