X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fmemcached_behavior.pod;h=eea908919a0bf6bfd272d457ff6c03258d5a7c58;hb=9c7e4d791a127f8ae46aaddc531319da1f34b5ba;hp=4095e8a5df8fa0c6ebf7b95e25ac89b1cde57c13;hpb=acd51e4987d27c762de5639cbff8ec87ff0990c3;p=m6w6%2Flibmemcached diff --git a/docs/memcached_behavior.pod b/docs/memcached_behavior.pod index 4095e8a5..eea90891 100644 --- a/docs/memcached_behavior.pod +++ b/docs/memcached_behavior.pod @@ -231,6 +231,10 @@ MEMCACHED_BEHAVIOR_TCP_NODELAY when set. Enable TCP_KEEPALIVE behavior. +=item MEMCACHED_BEHAVIOR_KEEPALIVE_IDLE + +Specify time, in seconds, to mark a connection as idle. This is only available as an option Linux. + =item MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE Find the current size of SO_SNDBUF. A value of 0 means either an error @@ -243,6 +247,21 @@ 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. +=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. + =back =head1 RETURN