Method: Redis::Distributed#pfcount

Defined in:
lib/redis/distributed.rb

#pfcount(*keys) ⇒ Object

Get the approximate cardinality of members added to HyperLogLog structure.



986
987
988
989
990
# File 'lib/redis/distributed.rb', line 986

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