X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_behavior.pod;h=20141907ba8f281cf34ab2567cf53b81986c8dd9;hb=264a1ae95d273b6b32afed45d7c7c7461bfa54e4;hp=d9e157f4ea1e4116dbceb6ecc0e86eb8d67927bd;hpb=7d9255c986d5e9a395bd510ca7b01519736f33e1;p=m6w6%2Flibmemcached diff --git a/docs/memcached_behavior.pod b/docs/memcached_behavior.pod index d9e157f4..20141907 100755 --- a/docs/memcached_behavior.pod +++ b/docs/memcached_behavior.pod @@ -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,17 @@ 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. +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. + +=item MEMCACHED_BEHAVIOR_CACHE_LOOKUPS + +Memcached can cache named lookups so that DNS lookups are made only once. + +=item MEMCACHED_BEHAVIOR_SUPPORT_CAS + +Support CAS operations (this is not enabled by default at this point in the server since it imposes a slight performance penalty). =back