MediaWiki
REL1_22
|
memcached diagnostic tool More...
Go to the source code of this file.
Variables | |
$cache = isset( $options['cache'] ) ? $options['cache'] : null | |
$debug = isset( $options['debug'] ) | |
$help = isset( $options['help'] ) | |
if($help) | $mcc |
$options = getopt( '', array( 'debug', 'help', 'cache:' ) ) |
memcached diagnostic tool
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file mcc.php.
Definition at line 32 of file mcc.php.
Referenced by LinkBatch\addResultToCache(), ProcessCacheLRUTest\assertCacheEmpty(), ResourceLoaderFileModule\compileLESSFile(), MultiWriteBagOStuff\deleteObjectsExpiringBefore(), MultiWriteBagOStuff\doWrite(), mcTest\execute(), RebuildFileCache\execute(), LinkBatch\executeInto(), ProcessCacheLRUTest\fillCache(), MultiWriteBagOStuff\get(), BacklinkCache\get(), IcuCollation\getFirstLetterData(), ResourceLoaderModule\getHashMtime(), BitmapHandler\getMagickVersion(), DependencyWrapper\getValueFromCache(), MediaWiki\main(), ResourceFileCache\newFromContext(), ObjectFileCache\newFromKey(), HTMLFileCache\newFromTitle(), HistoryAction\onView(), CoreParserFunctions\pagesincategory(), CoreParserFunctions\pagesize(), DBConnectionError\reportHTML(), DependencyWrapper\storeToCache(), ProcessCacheLRUTest\testBumpExistingKeyToTop(), ProcessCacheLRUTest\testFillingCache(), LocalisationCacheTest\testPuralRulesFallback(), ProcessCacheLRUTest\testRecentlyAccessedKeyStickIn(), ProcessCacheLRUTest\testReplaceExistingKeyInAFullCacheShouldBumpToTop(), ProcessCacheLRUTest\testReplaceExistingKeyShouldBumpEntryToTop(), ResourceLoaderModule\validateScriptFile(), wfIsDebugRawPage(), and wfMsgGetKey().
$debug = isset( $options['debug'] ) |
Definition at line 30 of file mcc.php.
Referenced by MWDebug\debugMsg(), MWDebug\getDebugHTML(), MWDebug\getDebugInfo(), MWDebug\getHTMLDebugLog(), MemcachedPhpBagOStuff\setDebug(), MultiWriteBagOStuff\setDebug(), WikiImporter\setDebug(), Exif\validate(), and wfThumbError().
$help = isset( $options['help'] ) |
Definition at line 31 of file mcc.php.
Referenced by ApiFormatBase\setHelp().
if ($help) $mcc |
new MWMemcached( array( 'persistent' => true, 'debug' => $debug, ) )
Definition at line 38 of file mcc.php.
Referenced by mcTest\execute().