MediaWiki REL1_32
|
WANObjectCache::wrap WANObjectCache::unwrap WANObjectCache::worthRefreshExpiring WANObjectCache::worthRefreshPopular WANObjectCache::isValid WANObjectCache::getWarmupKeyMisses WANObjectCache::prefixCacheKeys WANObjectCache::getProcessCache WANObjectCache::getNonProcessCachedKeys WANObjectCache::getRawKeysForWarmup WANObjectCache::getInterimValue WANObjectCache::setInterimValue. More...
Public Member Functions | |
testAdaptiveTTL ( $ago, $maxTTL, $minTTL, $factor, $adaptiveTTL) | |
provideAdaptiveTTL WANObjectCache::adaptiveTTL() | |
testBusyValue () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testCheckKeyInitHoldoff () | |
WANObjectCache::get() WANObjectCache::processCheckKeys() | |
testDelete () | |
WANObjectCache::delete WANObjectCache::relayDelete WANObjectCache::relayPurge. | |
testEpoch () | |
testGetMulti () | |
WANObjectCache::getMulti() | |
testGetMultiCheckKeys () | |
WANObjectCache::getMulti() WANObjectCache::processCheckKeys() | |
testGetMultiWithSetCallback (array $extOpts, $versioned) | |
getMultiWithSetCallback_provider WANObjectCache::getMultiWithSetCallback WANObjectCache::makeMultiKeys WANObjectCache::getMulti | |
testGetMultiWithUnionSetCallback (array $extOpts, $versioned) | |
getMultiWithUnionSetCallback_provider WANObjectCache::getMultiWithUnionSetCallback() WANObjectCache::makeMultiKeys() | |
testGetNotExists () | |
WANObjectCache::get() WANObjectCache::makeGlobalKey() | |
testGetQoS () | |
WANObjectCache::getQoS. | |
testGetWithSetCallback (array $extOpts, $versioned) | |
getWithSetCallback_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testGetWithSetCallback_invalidCallback () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testGetWithSetCallback_versions (array $extOpts, $versioned) | |
getWithSetCallback_versions_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testGetWithSeveralCheckKeys () | |
WANObjectCache::getMulti() | |
testInterimHoldOffCaching () | |
WANObjectCache::useInterimHoldOffCaching WANObjectCache::getInterimValue. | |
testLockTSE () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testLockTSESlow () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() WANObjectCache::set() | |
testMakeGlobalKey () | |
WANObjectCache::makeGlobalKey. | |
testMakeKey () | |
WANObjectCache::makeKey. | |
testMcRouterSupport () | |
testMcRouterSupportBroadcastDelete () | |
testMcRouterSupportBroadcastResetCK () | |
testMcRouterSupportBroadcastTouchCK () | |
testNewEmpty () | |
WANObjectCache::__construct WANObjectCache::newEmpty. | |
testPreemtiveRefresh () | |
testProcessCache () | |
testReap () | |
WANObjectCache::reap() WANObjectCache::reapCheckKey() | |
testReap_fail () | |
WANObjectCache::reap() | |
testSetAndGet ( $value, $ttl) | |
provideSetAndGet WANObjectCache::set() WANObjectCache::get() WANObjectCache::makeKey() | |
testSetLogger () | |
WANObjectCache::setLogger. | |
testSetOver () | |
WANObjectCache::set() | |
testSetWithLag () | |
WANObjectCache::set() | |
testStaleSet () | |
WANObjectCache::set() | |
testStatsKeyClass ( $key, $class) | |
statsKeyProvider WANObjectCache::determineKeyClass | |
testTouchKeys () | |
WANObjectCache::touchCheckKey WANObjectCache::resetCheckKey WANObjectCache::getCheckKeyTime WANObjectCache::getMultiCheckKeyTime WANObjectCache::makePurgeValue WANObjectCache::parsePurgeValue. | |
testWritePending () | |
WANObjectCache::set() | |
Static Public Member Functions | |
static | getMultiWithSetCallback_provider () |
static | getMultiWithUnionSetCallback_provider () |
static | getWithSetCallback_provider () |
static | getWithSetCallback_versions_provider () |
static | provideAdaptiveTTL () |
static | provideSetAndGet () |
static | statsKeyProvider () |
Protected Member Functions | |
setUp () | |
Private Attributes | |
WANObjectCache | $cache |
BagOStuff | $internalCache |
WANObjectCache::wrap WANObjectCache::unwrap WANObjectCache::worthRefreshExpiring WANObjectCache::worthRefreshPopular WANObjectCache::isValid WANObjectCache::getWarmupKeyMisses WANObjectCache::prefixCacheKeys WANObjectCache::getProcessCache WANObjectCache::getNonProcessCachedKeys WANObjectCache::getRawKeysForWarmup WANObjectCache::getInterimValue WANObjectCache::setInterimValue.
Definition at line 19 of file WANObjectCacheTest.php.
|
static |
Definition at line 654 of file WANObjectCacheTest.php.
|
static |
Definition at line 806 of file WANObjectCacheTest.php.
|
static |
Definition at line 368 of file WANObjectCacheTest.php.
|
static |
Definition at line 1236 of file WANObjectCacheTest.php.
|
static |
Definition at line 1633 of file WANObjectCacheTest.php.
|
static |
Definition at line 74 of file WANObjectCacheTest.php.
References object.
|
protected |
Definition at line 29 of file WANObjectCacheTest.php.
References cache.
|
static |
Definition at line 1713 of file WANObjectCacheTest.php.
WANObjectCacheTest::testAdaptiveTTL | ( | $ago, | |
$maxTTL, | |||
$minTTL, | |||
$factor, | |||
$adaptiveTTL | |||
) |
provideAdaptiveTTL WANObjectCache::adaptiveTTL()
float | int | $ago | |
int | $maxTTL | |
int | $minTTL | |
float | $factor | |
int | $adaptiveTTL |
Definition at line 1619 of file WANObjectCacheTest.php.
References cache.
WANObjectCacheTest::testBusyValue | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 891 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testCheckKeyInitHoldoff | ( | ) |
WANObjectCache::get() WANObjectCache::processCheckKeys()
Definition at line 1090 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\get(), WANObjectCache\set(), and wfRandomString().
WANObjectCacheTest::testDelete | ( | ) |
WANObjectCache::delete WANObjectCache::relayDelete WANObjectCache::relayPurge.
Definition at line 1124 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testEpoch | ( | ) |
Definition at line 1572 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\makeGlobalKey(), WANObjectCache\set(), WANObjectCache\setMockTime(), and WANObjectCache\touchCheckKey().
WANObjectCacheTest::testGetMulti | ( | ) |
WANObjectCache::getMulti()
Definition at line 945 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\getCheckKeyTime(), WANObjectCache\getMulti(), WANObjectCache\set(), WANObjectCache\setMockTime(), and wfRandomString().
WANObjectCacheTest::testGetMultiCheckKeys | ( | ) |
WANObjectCache::getMulti() WANObjectCache::processCheckKeys()
Definition at line 1009 of file WANObjectCacheTest.php.
References $cache, as, WANObjectCache\getMulti(), WANObjectCache\set(), WANObjectCache\setMockTime(), WANObjectCache\touchCheckKey(), and wfRandomString().
WANObjectCacheTest::testGetMultiWithSetCallback | ( | array | $extOpts, |
$versioned | |||
) |
getMultiWithSetCallback_provider WANObjectCache::getMultiWithSetCallback WANObjectCache::makeMultiKeys WANObjectCache::getMulti
array | $extOpts | |
bool | $versioned |
Definition at line 496 of file WANObjectCacheTest.php.
References $cache, $value, array(), cache, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\getMultiWithSetCallback(), WANObjectCache\getWarmupKeyMisses(), WANObjectCache\makeMultiKeys(), WANObjectCache\setMockTime(), use, and wfRandomString().
WANObjectCacheTest::testGetMultiWithUnionSetCallback | ( | array | $extOpts, |
$versioned | |||
) |
getMultiWithUnionSetCallback_provider WANObjectCache::getMultiWithUnionSetCallback() WANObjectCache::makeMultiKeys()
array | $extOpts | |
bool | $versioned |
Definition at line 668 of file WANObjectCacheTest.php.
References $cache, $value, array(), as, cache, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\getMultiWithUnionSetCallback(), WANObjectCache\getWarmupKeyMisses(), WANObjectCache\makeMultiKeys(), WANObjectCache\setMockTime(), use, and wfRandomString().
WANObjectCacheTest::testGetNotExists | ( | ) |
WANObjectCache::get() WANObjectCache::makeGlobalKey()
Definition at line 92 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testGetQoS | ( | ) |
WANObjectCache::getQoS.
Definition at line 1664 of file WANObjectCacheTest.php.
WANObjectCacheTest::testGetWithSetCallback | ( | array | $extOpts, |
$versioned | |||
) |
getWithSetCallback_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
array | $extOpts | |
bool | $versioned |
Definition at line 188 of file WANObjectCacheTest.php.
References $cache, $value, array(), WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\getWithSetCallback(), WANObjectCache\makeKey(), WANObjectCache\setMockTime(), WANObjectCache\touchCheckKey(), use, and wfRandomString().
WANObjectCacheTest::testGetWithSetCallback_invalidCallback | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 483 of file WANObjectCacheTest.php.
References cache.
WANObjectCacheTest::testGetWithSetCallback_versions | ( | array | $extOpts, |
$versioned | |||
) |
getWithSetCallback_versions_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
array | $extOpts | |
bool | $versioned |
Definition at line 1167 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testGetWithSeveralCheckKeys | ( | ) |
WANObjectCache::getMulti()
Definition at line 1344 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testInterimHoldOffCaching | ( | ) |
WANObjectCache::useInterimHoldOffCaching WANObjectCache::getInterimValue.
Definition at line 1247 of file WANObjectCacheTest.php.
References $cache, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, WANObjectCache\useInterimHoldOffCaching(), and wfRandomString().
WANObjectCacheTest::testLockTSE | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 817 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testLockTSESlow | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() WANObjectCache::set()
Definition at line 858 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testMakeGlobalKey | ( | ) |
WANObjectCache::makeGlobalKey.
Definition at line 1698 of file WANObjectCacheTest.php.
WANObjectCacheTest::testMakeKey | ( | ) |
WANObjectCache::makeKey.
Definition at line 1680 of file WANObjectCacheTest.php.
WANObjectCacheTest::testMcRouterSupport | ( | ) |
Definition at line 1490 of file WANObjectCacheTest.php.
WANObjectCacheTest::testMcRouterSupportBroadcastDelete | ( | ) |
Definition at line 1518 of file WANObjectCacheTest.php.
WANObjectCacheTest::testMcRouterSupportBroadcastResetCK | ( | ) |
Definition at line 1554 of file WANObjectCacheTest.php.
WANObjectCacheTest::testMcRouterSupportBroadcastTouchCK | ( | ) |
Definition at line 1536 of file WANObjectCacheTest.php.
WANObjectCacheTest::testNewEmpty | ( | ) |
WANObjectCache::__construct WANObjectCache::newEmpty.
Definition at line 1647 of file WANObjectCacheTest.php.
WANObjectCacheTest::testPreemtiveRefresh | ( | ) |
Definition at line 375 of file WANObjectCacheTest.php.
References $cache, $value, WANObjectCache\getWithSetCallback(), WANObjectCache\setMockTime(), use, and wfRandomString().
WANObjectCacheTest::testProcessCache | ( | ) |
Definition at line 125 of file WANObjectCacheTest.php.
References $keys, as, cache, use, and wfRandomString().
WANObjectCacheTest::testReap | ( | ) |
WANObjectCache::reap() WANObjectCache::reapCheckKey()
Definition at line 1376 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testReap_fail | ( | ) |
WANObjectCacheTest::testSetAndGet | ( | $value, | |
$ttl | |||
) |
provideSetAndGet WANObjectCache::set() WANObjectCache::get() WANObjectCache::makeKey()
mixed | $value | |
int | $ttl |
Definition at line 51 of file WANObjectCacheTest.php.
References $t, $value, cache, and wfRandomString().
WANObjectCacheTest::testSetLogger | ( | ) |
WANObjectCache::setLogger.
Definition at line 1657 of file WANObjectCacheTest.php.
References cache.
WANObjectCacheTest::testSetOver | ( | ) |
WANObjectCache::set()
Definition at line 104 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testSetWithLag | ( | ) |
WANObjectCache::set()
Definition at line 1459 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testStaleSet | ( | ) |
WANObjectCache::set()
Definition at line 117 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testStatsKeyClass | ( | $key, | |
$class | |||
) |
statsKeyProvider WANObjectCache::determineKeyClass
Definition at line 1726 of file WANObjectCacheTest.php.
WANObjectCacheTest::testTouchKeys | ( | ) |
WANObjectCache::touchCheckKey WANObjectCache::resetCheckKey WANObjectCache::getCheckKeyTime WANObjectCache::getMultiCheckKeyTime WANObjectCache::makePurgeValue WANObjectCache::parsePurgeValue.
Definition at line 1303 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\getCheckKeyTime(), WANObjectCache\resetCheckKey(), WANObjectCache\setMockTime(), WANObjectCache\touchCheckKey(), and wfRandomString().
WANObjectCacheTest::testWritePending | ( | ) |
WANObjectCache::set()
Definition at line 1481 of file WANObjectCacheTest.php.
References $value, cache, true, and wfRandomString().
|
private |
Definition at line 25 of file WANObjectCacheTest.php.
Referenced by testBusyValue(), testCheckKeyInitHoldoff(), testEpoch(), testGetMulti(), testGetMultiCheckKeys(), testGetMultiWithSetCallback(), testGetMultiWithUnionSetCallback(), testGetWithSetCallback(), testGetWithSetCallback_versions(), testInterimHoldOffCaching(), testLockTSE(), testLockTSESlow(), testPreemtiveRefresh(), and testTouchKeys().
|
private |
Definition at line 27 of file WANObjectCacheTest.php.