ExHashRing.Hash (ex_hash_ring v6.0.4) View Source
Hash encapsulates the hashing logic for converting keys into ring locations.
Any term that implements the String.Char protocol can be used as a key.
Link to this section Summary
Types
Any term that can be coerced into a string (String.Chars.t()) is a hashable term.
Hash for the term, this is used to locate Nodes in the Ring
Link to this section Types
Specs
hashable() :: String.Chars.t()
Any term that can be coerced into a string (String.Chars.t()) is a hashable term.
Specs
t() :: integer()
Hash for the term, this is used to locate Nodes in the Ring
Link to this section Functions
Specs
Calculate a hash of the hashable term.