Merge Trond
[m6w6/libmemcached] / docs / memcached_behavior.pod
index 4095e8a5df8fa0c6ebf7b95e25ac89b1cde57c13..eea908919a0bf6bfd272d457ff6c03258d5a7c58 100644 (file)
@@ -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