IzumiSy / elm-consistent-hashing / ConsistentHashing.Replica


type Replica

Replica size

new : Basics.Int -> Replica

Creates a new replica size

default : Replica

A default replica size (100)

toInt : Replica -> Basics.Int

Unwraps Replica to Int

toSuffixedKeyList : ConsistentHashing.Node.Node -> Replica -> List ConsistentHashing.Key.Key

Builds Key list with range of Replica size, serially suffxied