Documentation ¶
Index ¶
Constants ¶
View Source
const (
//DefaultVirualSpots default virual spots
DefaultVirualSpots = 300
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HashRing ¶
type HashRing struct {
// contains filtered or unexported fields
}
HashRing store nodes and weigths
func (*HashRing) UpdateNode ¶
UpdateNode update node with weight
Click to show internal directories.
Click to hide internal directories.