(index ("connect" 0) ("disconnect" 198) ("stats" 312) ("set" 488) ("add" 908) ("replace" 1328) ("get" 1760) ("get" 2112) ("incr" 2449) ("decr" 2800) ("server-handle?" 3151) ("server-handle-host" 3315) ("server-handle-port" 3437) ("with-server-connection" 3561))
(def (sig (procedure "(connect HOST PORT)" (id connect))) (p "Connects to the Memcached server instance running on " (tt "HOST") " at " (tt "PORT") ". Returns a server handle object (see below)."))
(def (sig (procedure "(disconnect H)" (id disconnect))) (p "Disconnects the given server handle from its host."))
(def (sig (procedure "(stats H)" (id stats))) (p "Invokes the statistics command on the server indicated by handle " (tt "H") ". Returns an alist of statistics information."))
(def (sig (procedure "(set H KEY VAL [HASH])" (id set))) (p "Set storage command on the server indicated by handle " (tt "H") ".  " (tt "KEY") " and " (tt "VAL") " can be any serializable Scheme object.  The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success, " (tt "#f") " otherwise."))
(def (sig (procedure "(add H KEY VAL [HASH])" (id add))) (p "Add storage command on the server indicated by handle " (tt "H") ".  " (tt "KEY") " and " (tt "VAL") " can be any serializable Scheme object.  The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success, " (tt "#f") " otherwise."))
(def (sig (procedure "(replace H KEY VAL [HASH])" (id replace))) (p "Replace storage command on the server indicated by handle " (tt "H") ".  " (tt "KEY") " and " (tt "VAL") " can be any serializable Scheme object.  The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success, " (tt "#f") " otherwise."))
(def (sig (procedure "(get H KEY [HASH])" (id get))) (p "Get command on the server indicated by handle " (tt "H") ". The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns the deserialized object if the key is found, " (tt "#f") " otherwise."))
(def (sig (procedure "(get H KEY [HASH])" (id get))) (p "Delete command on the server indicated by handle " (tt "H") ". The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success,  " (tt "#f") " otherwise."))
(def (sig (procedure "(incr H KEY DELTA [HASH])" (id incr))) (p "Increment key command on the server indicated by handle " (tt "H") ". The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success, " (tt "#f") " otherwise."))
(def (sig (procedure "(decr H KEY DELTA [HASH])" (id decr))) (p "Decrement key command on the server indicated by handle " (tt "H") ". The hash value for " (tt "KEY") " is obtained by the " (tt "HASH") " procedure, which defaults to the one provided by the Chicken SRFI-69 implementation. Returns " (tt "#t") " on success, " (tt "#f") " otherwise."))
(def (sig (procedure "(server-handle? H)" (id server-handle?))) (p "Returns " (tt "#t") " is " (tt "H") " is a Memcached server handle, " (tt "#f") " otherwise."))
(def (sig (procedure "(server-handle-host H)" (id server-handle-host))) (p "Returns the host name of the given handle."))
(def (sig (procedure "(server-handle-port H)" (id server-handle-port))) (p "Returns the port number of the given handle."))
(def (sig (syntax "(with-server-connection H HOST PORT CMD ...)" (id with-server-connection))) (p "A convenience macro for creating and destroying a connection for a given set of commands. " (tt "H") " is the name of the server handle that will be created. The connection is created before any of the forms " (tt "CMD...") " are executed, and is destroyed after the last command is executed."))
