X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_behavior.pod;h=02ab0de410df9f1193e142e79f24310b75d7f40b;hb=b95041363ea69ccfb9eacb6bba1852814c32b4ee;hp=c9a7104f10aae704e4ba7df2019728adca7e7310;hpb=e46e60cc9ede45420b9bebfae61114ad45b39d91;p=awesomized%2Flibmemcached diff --git a/docs/memcached_behavior.pod b/docs/memcached_behavior.pod index c9a7104f..02ab0de4 100644 --- a/docs/memcached_behavior.pod +++ b/docs/memcached_behavior.pod @@ -239,13 +239,33 @@ Specify time, in seconds, to mark a connection as idle. This is only available a Find the current size of SO_SNDBUF. A value of 0 means either an error occured or no hosts were available. It is safe to assume system default -if this occurs. +if this occurs. If an error occurs you can checked the last cached errno statement to find the specific error. =item MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE Find the current size of SO_RCVBUF. A value of 0 means either an error occured or no hosts were available. It is safe to assume system default -if this occurs. +if this occurs. If an error occurs you can checked the last cached errno statement to find the specific error. + +=item MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT + +This number of times a host can have an error before it is disabled. + +=item MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS + +If enabled any hosts which have been flagged as disabled will be removed +from the list of servers in the memcached_st structure. This must be used +in combination with MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT. + +=item MEMCACHED_BEHAVIOR_RETRY_TIMEOUT + +When enabled a host which is problematic will only be checked for usage +based on the amount of time set by this behavior. + +=item MEMCACHED_BEHAVIOR_HASH_WITH_PREFIX_KEY + +When enabled the prefix key will be added to the key when determining +server by hash. =back