Method: Redis::HashRing#get_node
- Defined in:
- lib/redis/hash_ring.rb
#get_node(key) ⇒ Object
get the node in the hash ring for this key
45 46 47 |
# File 'lib/redis/hash_ring.rb', line 45 def get_node(key) get_node_pos(key)[0] end |