herd v0.4.2 Herd.Router.HashRing View Source

Hash Ring implementation of the Herd.Router behavior

Link to this section Summary

Functions

Add nodes to the router

Gets a node from the router using the given key

Gets nodes mapped by the given keys

Initialize a new load router

Return all nodes in the router

Remove nodes from the router

Link to this section Functions

Add nodes to the router

Callback implementation for Herd.Router.add_nodes/2.

Gets a node from the router using the given key

Callback implementation for Herd.Router.get_node/2.

Gets nodes mapped by the given keys

Callback implementation for Herd.Router.get_nodes/2.

Initialize a new load router

Callback implementation for Herd.Router.new/0.

Return all nodes in the router

Callback implementation for Herd.Router.nodes/1.

Link to this function remove_nodes(ring, nodes) View Source

Remove nodes from the router

Callback implementation for Herd.Router.remove_nodes/2.