[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/cache/stores/memcache/lang/en/ -> cachestore_memcache.php (source)

   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 memcache cache store.
  19   *
  20   * This file is part of the memcache cache store, it contains the API for interacting with an instance of the store.
  21   *
  22   * @package    cachestore_memcache
  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['clustered'] = 'Enable clustered servers';
  30  $string['clustered_help'] = 'This is used to allow read-one, set-multi functionality.
  31  
  32  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.
  33  
  34  When this setting is enabled, the server listed above will be used for fetching.';
  35  $string['clusteredheader'] = 'Split servers';
  36  $string['pluginname'] = 'Memcache';
  37  $string['prefix'] = 'Key prefix';
  38  $string['prefix_help'] = 'This prefix is used for all key names on the memcache server.
  39  * If you only have one Moodle instance using this server, you can leave this value default.
  40  * Due to key length restrictions, a maximum of 5 characters is permitted.';
  41  $string['prefixinvalid'] = 'Invalid prefix. You can only use a-z A-Z 0-9-_.';
  42  $string['servers'] = 'Servers';
  43  $string['servers_help'] = 'This sets the servers that should be utilised by this memcache adapter.
  44  Servers should be defined one per line and consist of a server address and optionally a port and weight.
  45  If no port is provided then the default port (11211) is used.
  46  
  47  For example:
  48  <pre>
  49  server.url.com
  50  ipaddress:port
  51  servername:port:weight
  52  </pre>
  53  
  54  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.';
  55  $string['serversclusterinvalid'] = 'Exactly one server is required when clustering is enabled.';
  56  $string['setservers'] = 'Set Servers';
  57  $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.
  58  It **must** include the server listed in *Servers* above, even if by a different hostname.
  59  Servers should be defined one per line and consist of a server address and optionally a port.
  60  If no port is provided then the default port (11211) is used.
  61  
  62  For example:
  63  <pre>
  64  server.url.com
  65  ipaddress:port
  66  </pre>';
  67  $string['sessionhandlerconflict'] = 'Warning: A memcache instance ({$a}) has being configured to use the same memcached server as sessions. Purging all caches will lead to sessions also being purged.';
  68  $string['testservers'] = 'Test servers';
  69  $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.
  70  If no port is provided then the default port (11211) is used.';


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1