Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChMap
deprecated
type ChMap struct {
// contains filtered or unexported fields
}
Deprecated: removed in next version ChMap consistent hash map
func NewChMap ¶
NewChMap create a ChMap which has replicates of virtual nodes.
func (*ChMap) Find ¶
Find finds a nodes to put the string key
func (*ChMap) FindUint32 ¶
FindUint32 finds a nodes to put the uint32 key
Click to show internal directories.
Click to hide internal directories.