You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
2.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__Memcached (InferBase.InferBase__Memcached)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">InferBase</a> &#x00BB; InferBase__Memcached</nav><h1>Module <code>InferBase__Memcached</code></h1><p>Interface for managing a (single) memcached daemon and getting/setting OCaml values</p></header><dl><dt class="spec value" id="val-connect"><a href="#val-connect" class="anchor"></a><code><span class="keyword">val</span> connect : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>connect to a running memcached server -- only call this from processes which do not fork</p></dd></dl><dl><dt class="spec value" id="val-disconnect"><a href="#val-disconnect" class="anchor"></a><code><span class="keyword">val</span> disconnect : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>disconnect after having connected first</p></dd></dl><dl><dt class="spec value" id="val-start"><a href="#val-start" class="anchor"></a><code><span class="keyword">val</span> start : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>start a memcached daemon and set up an epilogue to kill it on exit -- only for top-level</p></dd></dl><dl><dt class="spec module-type" id="module-type-Value"><a href="#module-type-Value" class="anchor"></a><code><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-Value/index.html">Value</a> = <span class="keyword">sig</span> ... <span class="keyword">end</span></code></dt><dd><p>type to marshal, plus a unique label that will be colon-prepended to a key, roughly signifying a table</p></dd></dl><div class="spec module-type" id="module-type-Server"><a href="#module-type-Server" class="anchor"></a><code><span class="keyword">module</span> <span class="keyword">type</span> <a href="module-type-Server/index.html">Server</a> = <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-Make"><a href="#module-Make" class="anchor"></a><code><span class="keyword">module</span> <a href="Make/index.html">Make</a> : <span class="keyword">functor</span> (<a href="Make/argument-1-V/index.html">V</a> : <a href="index.html#module-type-Value">Value</a>) <span>&#45;&gt;</span> <a href="index.html#module-type-Server">Server</a> <span class="keyword">with</span> <span class="keyword">module</span> <a href="Make/Value/index.html">Value</a> = <a href="Make/index.html#argument-1-V">V</a></code></div></div></body></html>