Source for file properties.php

Documentation is available at properties.php

  1. <?php
  2. /**
  3.  * Data Structures for PHP similar to Java's HashSet and LinkedHashSet.  Uses
  4.  * memcached as a storage mechanism for persisting set data beyond the scope of
  5.  * the current request.
  6.  * 
  7.  * Requires: {@link http://www.php.net/ PHP 5},
  8.  * {@link http://www.danga.com/memcached/ memcached} and
  9.  * {@link http://pecl.php.net/memcache pecl_memcache}
  10.  * 
  11.  * License:
  12.  * 
  13.  * Permission is hereby granted, free of charge, to any person obtaining a copy
  14.  * of this software and associated documentation files (the "Software"), to
  15.  * deal in the Software without restriction, including without limitation the
  16.  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  17.  * sell copies of the Software, and to permit persons to whom the Software is
  18.  * furnished to do so, subject to the following conditions:
  19.  * 
  20.  * The above copyright notice and this permission notice shall be included in
  21.  * all copies or substantial portions of the Software.
  22.  * 
  23.  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  24.  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  25.  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  26.  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  27.  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  28.  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  29.  * IN THE SOFTWARE.
  30.  * 
  31.  * @category   HighPerformance
  32.  * @package    CacheSets
  33.  * @author     Jeff Trudeau
  34.  * @copyright  Coypright (c) 2008 Jeff Trudeau
  35.  * @license    http://www.opensource.org/licenses/mit-license.php MIT License
  36.  * @filesource
  37.  */
  38.  
  39. /**
  40.  * Defines the memcached servers.
  41.  * 
  42.  * @global array $cache_servers 
  43.  */
  44. $cache_servers = array(array('host' => 'localhost', 'port' => '11211'));
  45.  
  46. /**
  47.  * Defines the use of memcached's built-in compression, which can be useful for
  48.  * storing large values.  Default is false, which disables compression.
  49.  */
  50. define('CACHE_COMPRESSION', false);
  51.  
  52. /**
  53.  * Defines the lifetime (in seconds) of objects in the cache.  Default is 0,
  54.  * which means that objects will never expire.
  55.  */
  56. define('CACHE_EXPIRATION', 0);
  57.  
  58. ?>

Documentation generated on Thu, 14 Feb 2008 09:14:28 -0500 by phpDocumentor 1.4.1