class ConsistentHasher(T)

Overview

Information on Consistent Hash Ring http://www.martinbroadhurst.com/Consistent-Hash-Ring.html

Defined in:

lavinmq/consistent_hasher.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add(key : String, weight : UInt32, target : T) #

[View source]
def get(key) #

[View source]
def remove(key : String, weight : UInt32) #

[View source]