cvs: phpdoc /en/reference/memcache ini.xml
| From: | Mikael Johansson | Date: | Fri, 21 Sep 2007 16:39:07 +0000 |
| Subject: | cvs: phpdoc /en/reference/memcache ini.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-56@lists.php.net to get a copy of this message | ||
mikl Fri Sep 21 16:39:07 2007 UTC
Modified files:
/phpdoc/en/reference/memcache ini.xml
Log:
Added INI settings available as of release 2.2.0
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/memcache/ini.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/memcache/ini.xml
diff -u phpdoc/en/reference/memcache/ini.xml:1.6 phpdoc/en/reference/memcache/ini.xml:1.7
--- phpdoc/en/reference/memcache/ini.xml:1.6 Wed Jun 20 22:24:54 2007
+++ phpdoc/en/reference/memcache/ini.xml Fri Sep 21 16:39:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<section xml:id="memcache.ini" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
@@ -41,6 +41,18 @@
<entry>Available since Memcache 2.0.2</entry>
</row>
<row>
+ <entry>memcache.hash_strategy</entry>
+ <entry>"standard"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Available since Memcache 2.2.0</entry>
+ </row>
+ <row>
+ <entry>memcache.hash_function</entry>
+ <entry>"crc32"</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Available since Memcache 2.2.0</entry>
+ </row>
+ <row>
<entry>session.save_handler</entry>
<entry></entry>
<entry>PHP_INI_ALL</entry>
@@ -116,7 +128,36 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry xml:id="ini.memcache.hash-strategy">
+ <term>
+ <parameter>session.hash_strategy</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ Controls which strategy to use when mapping keys to servers. Set this value to
+ <literal>consistent</literal> to enable consistent hashing which allows servers
+ to be added or removed from the pool without causing keys to be remapped.
+ Setting this value to <literal>standard</literal> results in the old strategy
+ being used.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry xml:id="ini.memcache.hash-function">
+ <term>
+ <parameter>session.hash_function</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ Controls which hash function to apply when mapping keys to servers,
<literal>crc32</literal>
+ uses the standard CRC32 hash while <literal>fnv</literal> uses FNV-1a.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry xml:id="ini.memcache.session-handler">
<term>
<parameter>session.save_handler</parameter>