MediaWiki
1.32.5
|
Public Member Functions | |
testHashRingCollision () | |
testHashRingEjection () | |
testHashRingKetamaMode () | |
testHashRingMapping () | |
testHashRingRatios ( $locations, $expectedHits) | |
providor_getHashLocationWeights More... | |
testHashRingRatios2 ( $locations, $expected) | |
providor_getHashLocationWeights2 More... | |
testHashRingSerialize () | |
Static Public Member Functions | |
static | providor_getHashLocationWeights () |
static | providor_getHashLocationWeights2 () |
Definition at line 7 of file HashRingTest.php.
|
static |
Definition at line 101 of file HashRingTest.php.
|
static |
Definition at line 124 of file HashRingTest.php.
HashRingTest::testHashRingCollision | ( | ) |
Definition at line 167 of file HashRingTest.php.
HashRingTest::testHashRingEjection | ( | ) |
Definition at line 133 of file HashRingTest.php.
References true.
HashRingTest::testHashRingKetamaMode | ( | ) |
Definition at line 176 of file HashRingTest.php.
References $lines, HashRing\KEY_POS, and use.
HashRingTest::testHashRingMapping | ( | ) |
Definition at line 27 of file HashRingTest.php.
HashRingTest::testHashRingRatios | ( | $locations, | |
$expectedHits | |||
) |
providor_getHashLocationWeights
Definition at line 91 of file HashRingTest.php.
HashRingTest::testHashRingRatios2 | ( | $locations, | |
$expected | |||
) |
HashRingTest::testHashRingSerialize | ( | ) |
Definition at line 11 of file HashRingTest.php.
References $serialized, serialize(), and unserialize().