Update of docs on memcached_set with hashes.
[m6w6/libmemcached] / docs / memcached_behavior.pod
index d9e157f4ea1e4116dbceb6ecc0e86eb8d67927bd..296988e5ac6fd627b17a590d061a32c06bf7c833 100755 (executable)
@@ -32,7 +32,8 @@ that behavior is currently enabled in the client.
 
 memcached_behavior_set() changes the value of a particular option of the
 client. It takes both a flag (listed below) and a value. For simple on or
-off options you just need to pass in a value of 1.
+off options you just need to pass in a value of 1. Calls to 
+memcached_behavior_set() will flush and reset all connections.
 
 =over 4
 
@@ -46,9 +47,10 @@ available.
 Turns on the no-delay feature for connecting sockets (may be faster in some
 environments).
 
-=item MEMCACHED_BEHAVIOR_MD5_HASHING
+=item MEMCACHED_BEHAVIOR_HASH
+
+Makes the default hashing algorithm for keys use MD5. The value can be set to either MEMCACHED_HASH_DEFAULT, MEMCACHED_HASH_MD5, MEMCACHED_HASH_CRC, MEMCACHED_HASH_FNV1_64, MEMCACHED_HASH_FNV1A_64, MEMCACHED_HASH_FNV1_32, MEMCACHED_HASH_FNV1A_32, MEMCACHED_HASH_KETAMA. The behavior for all hashes but MEMCACHED_HASH_DEFAULT is identitical to the Java driver written by Dustin Sallings.
 
-Makes the default hashing algorithm for keys use MD5.
 
 =back