[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 // This file is part of Moodle - http://moodle.org/ 3 // 4 // Moodle is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // Moodle is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * The library file for the memcached cache store. 19 * 20 * This file is part of the memcached cache store, it contains the API for interacting with an instance of the store. 21 * 22 * @package cachestore_memcached 23 * @copyright 2012 Sam Hemelryk 24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 25 */ 26 27 defined('MOODLE_INTERNAL') || die(); 28 29 $string['bufferwrites'] = 'Buffer writes'; 30 $string['bufferwrites_help'] = 'Enables or disables buffered I/O. Enabling buffered I/O causes storage commands to "buffer" instead of being sent. Any action that retrieves data causes this buffer to be sent to the remote connection. Quitting the connection or closing down the connection will also cause the buffered data to be pushed to the remote connection.'; 31 $string['clustered'] = 'Enable clustered servers'; 32 $string['clustered_help'] = 'This is used to allow read-one, set-multi functionality. 33 34 The intended use case is to create an improved store for load-balanced configurations. The store will fetch from one server (usually localhost), but set to many (all the servers in the load-balance pool). For caches with very high read to set ratios, this saves a significant amount of network overhead. 35 36 When this setting is enabled, the server listed above will be used for fetching.'; 37 $string['clusteredheader'] = 'Split servers'; 38 $string['hash'] = 'Hash method'; 39 $string['hash_help'] = 'Specifies the hashing algorithm used for the item keys. Each hash algorithm has its advantages and its disadvantages. Go with the default if you don\'t know or don\'t care.'; 40 $string['hash_default'] = 'Default (one-at-a-time)'; 41 $string['hash_md5'] = 'MD5'; 42 $string['hash_crc'] = 'CRC'; 43 $string['hash_fnv1_64'] = 'FNV1_64'; 44 $string['hash_fnv1a_64'] = 'FNV1A_64'; 45 $string['hash_fnv1_32'] = 'FNV1_32'; 46 $string['hash_fnv1a_32'] = 'FNV1A_32'; 47 $string['hash_hsieh'] = 'Hsieh'; 48 $string['hash_murmur'] = 'Murmur'; 49 $string['pluginname'] = 'Memcached'; 50 $string['prefix'] = 'Prefix key'; 51 $string['prefix_help'] = 'This can be used to create a "domain" for your item keys allowing you to create multiple memcached stores on a single memcached installation. It cannot be longer than 16 characters in order to ensure key length issues are not encountered.'; 52 $string['prefixinvalid'] = 'Invalid prefix. You can only use a-z A-Z 0-9-_.'; 53 $string['serialiser_igbinary'] = 'The igbinary serializer.'; 54 $string['serialiser_json'] = 'The JSON serializer.'; 55 $string['serialiser_php'] = 'The default PHP serializer.'; 56 $string['servers'] = 'Servers'; 57 $string['servers_help'] = 'This sets the servers that should be utilised by this memcached adapter. 58 Servers should be defined one per line and consist of a server address and optionally a port and weight. 59 If no port is provided then the default port (11211) is used. 60 61 For example: 62 <pre> 63 server.url.com 64 ipaddress:port 65 servername:port:weight 66 </pre> 67 68 If *Enable clustered servers* is enabled below, there must be only one server listed here. This would usually be a name that always resolves to the local manchine, like 127.0.0.1 or localhost.'; 69 $string['serversclusterinvalid'] = 'Exactly one server is required when clustering is enabled.'; 70 $string['setservers'] = 'Set Servers'; 71 $string['setservers_help'] = 'This is the list of servers that will updated when data is modified in the cache. Generally the fully qualified name of each server in the pool. 72 It **must** include the server listed in *Servers* above, even if by a different hostname. 73 Servers should be defined one per line and consist of a server address and optionally a port. 74 If no port is provided then the default port (11211) is used. 75 76 For example: 77 <pre> 78 server.url.com 79 ipaddress:port 80 </pre>'; 81 $string['sessionhandlerconflict'] = 'Warning: A memcached instance ({$a}) has being configured to use the same memcached server as sessions. Purging all caches will lead to sessions also being purged.'; 82 $string['testservers'] = 'Test servers'; 83 $string['testservers_desc'] = 'The test servers get used for unit tests and for performance tests. It is entirely optional to set up test servers. Servers should be defined one per line and consist of a server address and optionally a port and weight. 84 If no port is provided then the default port (11211) is used.'; 85 $string['usecompression'] = 'Use compression'; 86 $string['usecompression_help'] = 'Enables or disables payload compression. When enabled, item values longer than a certain threshold (currently 100 bytes) will be compressed during storage and decompressed during retrieval transparently.'; 87 $string['useserialiser'] = 'Use serialiser'; 88 $string['useserialiser_help'] = 'Specifies the serializer to use for serializing non-scalar values. 89 The valid serializers are Memcached::SERIALIZER_PHP or Memcached::SERIALIZER_IGBINARY. 90 The latter is supported only when memcached is configured with --enable-memcached-igbinary option and the igbinary extension is loaded.';
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |