Campustream 1.0
A social network MQP for WPI
|
Public Member Functions | |
__construct () | |
generateKey ($value) | |
__construct () | |
generateKey ($value) | |
Data Fields | |
const | DEFAULT_REPLICAS = 160 |
Protected Member Functions | |
addNodeToRing (&$ring, $node, $totalNodes, $replicas, $weightRatio) | |
wrapAroundStrategy ($upper, $lower, $ringKeysCount) | |
addNodeToRing (&$ring, $node, $totalNodes, $replicas, $weightRatio) | |
wrapAroundStrategy ($upper, $lower, $ringKeysCount) |
Definition at line 2024 of file predis.php.
__construct | ( | ) |
Definition at line 2027 of file predis.php.
__construct | ( | ) |
Definition at line 2027 of file predis.php.
addNodeToRing | ( | &$ | ring, |
$ | node, | ||
$ | totalNodes, | ||
$ | replicas, | ||
$ | weightRatio | ||
) | [protected] |
Reimplemented from HashRing.
Definition at line 2031 of file predis.php.
addNodeToRing | ( | &$ | ring, |
$ | node, | ||
$ | totalNodes, | ||
$ | replicas, | ||
$ | weightRatio | ||
) | [protected] |
Reimplemented from HashRing.
Definition at line 2031 of file predis.php.
generateKey | ( | $ | value | ) |
Reimplemented from HashRing.
Definition at line 2043 of file predis.php.
generateKey | ( | $ | value | ) |
Reimplemented from HashRing.
Definition at line 2043 of file predis.php.
wrapAroundStrategy | ( | $ | upper, |
$ | lower, | ||
$ | ringKeysCount | ||
) | [protected] |
Reimplemented from HashRing.
Definition at line 2048 of file predis.php.
wrapAroundStrategy | ( | $ | upper, |
$ | lower, | ||
$ | ringKeysCount | ||
) | [protected] |
Reimplemented from HashRing.
Definition at line 2048 of file predis.php.
const DEFAULT_REPLICAS = 160 |
Reimplemented from HashRing.
Definition at line 2025 of file predis.php.