Method: Redis::Distributed#pfcount
- Defined in:
- lib/redis/distributed.rb
#pfcount(*keys) ⇒ Object
Get the approximate cardinality of members added to HyperLogLog structure.
1028 1029 1030 1031 1032 |
# File 'lib/redis/distributed.rb', line 1028 def pfcount(*keys) ensure_same_node(:pfcount, keys.flatten(1)) do |node| node.pfcount(keys) end end |