X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_behavior.pod;h=02ab0de410df9f1193e142e79f24310b75d7f40b;hb=1591feaed3f710d48f76a6fc8a3a52242ab34fd9;hp=c9a7104f10aae704e4ba7df2019728adca7e7310;hpb=26c65ac524f21cd73a79f3caf45cdb76c9a41bc0;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