Class Horde_Support_ConsistentHash
For a thorough description of consistent hashing, see http://www.spiteful.com/2008/03/17/programmers-toolbox-part-3-consistent-hashing/, and also the original paper: http://www8.org/w8-papers/2a-webserver/caching/paper2.html
Copyright 2007-2012 Horde LLC (http://www.horde.org/)
Package: Support
Category: Horde
License: http://www.horde.org/licenses/bsd
Located at Horde/Support/ConsistentHash.php
Category: Horde
License: http://www.horde.org/licenses/bsd
Located at Horde/Support/ConsistentHash.php
public
|
#
__construct( array $nodes = array(), integer $weight = 1, integer $numberOfReplicas = 100 )
Create a new consistent hash, with initial $nodes at $numberOfReplicas |
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
string
|