|
@@ -12,11 +12,12 @@
|
|
|
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#types">Data Types</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>Extended process registry.
|
|
|
|
|
|
<p><b>Behaviours:</b> <a href="gen_server.html"><tt>gen_server</tt></a>.</p>
|
|
|
-<p><b>Authors:</b> Ulf Wiger (<a href="mailto:ulf.wiger@ericsson.com"><tt>ulf.wiger@ericsson.com</tt></a>).</p>
|
|
|
+<p><b>Authors:</b> Ulf Wiger (<a href="mailto:ulf.wiger@erlang-consulting.com"><tt>ulf.wiger@erlang-consulting.com</tt></a>).</p>
|
|
|
|
|
|
<h2><a name="description">Description</a></h2>Extended process registry
|
|
|
<p>This module implements an extended process registry</p>
|
|
|
- <p>For a detailed description, see gproc/doc/erlang07-wiger.pdf.</p>
|
|
|
+ <p>For a detailed description, see
|
|
|
+ <a href="erlang07-wiger.pdf">erlang07-wiger.pdf</a>.</p>
|
|
|
|
|
|
<h2><a name="types">Data Types</a></h2>
|
|
|
|
|
@@ -81,7 +82,7 @@
|
|
|
<tr><td valign="top"><a href="#lookup_local_properties-1">lookup_local_properties/1</a></td><td>Look up all local (non-unique) instances of a given Property.</td></tr>
|
|
|
<tr><td valign="top"><a href="#lookup_pid-1">lookup_pid/1</a></td><td>Lookup the Pid stored with a key.</td></tr>
|
|
|
<tr><td valign="top"><a href="#lookup_pids-1">lookup_pids/1</a></td><td>Returns a list of pids with the published key Key.</td></tr>
|
|
|
-<tr><td valign="top"><a href="#lookup_values-1">lookup_values/1</a></td><td></td></tr>
|
|
|
+<tr><td valign="top"><a href="#lookup_values-1">lookup_values/1</a></td><td>Retrieve the <code>{Pid,Value}</code> pairs corresponding to Key.</td></tr>
|
|
|
<tr><td valign="top"><a href="#mreg-3">mreg/3</a></td><td>Register multiple {Key,Value} pairs of a given type and scope.</td></tr>
|
|
|
<tr><td valign="top"><a href="#next-2">next/2</a></td><td>Behaves as ets:next(Tab,Key) for a given type of registration object.</td></tr>
|
|
|
<tr><td valign="top"><a href="#prev-2">prev/2</a></td><td>Behaves as ets:prev(Tab,Key) for a given type of registration object.</td></tr>
|
|
@@ -261,8 +262,12 @@
|
|
|
|
|
|
<h3 class="function"><a name="lookup_values-1">lookup_values/1</a></h3>
|
|
|
<div class="spec">
|
|
|
-<p><tt>lookup_values(Key) -> any()</tt></p>
|
|
|
-</div>
|
|
|
+<p><tt>lookup_values(Key::<a href="#type-key">key()</a>) -> [{pid(), Value}]</tt></p>
|
|
|
+</div><p><p>Retrieve the <code>{Pid,Value}</code> pairs corresponding to Key.</p>
|
|
|
+
|
|
|
+ Key refer to any type of registry object. If it refers to a unique
|
|
|
+ object, the list will be of length 0 or 1. If it refers to a non-unique
|
|
|
+ object, the return value can be a list of any length.</p>
|
|
|
|
|
|
<h3 class="function"><a name="mreg-3">mreg/3</a></h3>
|
|
|
<div class="spec">
|
|
@@ -388,6 +393,6 @@ If it doesn't, this function will exit.</p>
|
|
|
<hr>
|
|
|
|
|
|
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
|
|
|
-<p><i>Generated by EDoc, Sep 21 2009, 10:14:31.</i></p>
|
|
|
+<p><i>Generated by EDoc, Sep 22 2009, 10:04:07.</i></p>
|
|
|
</body>
|
|
|
</html>
|