Commits

Anonymous committed 1eca313

Moved everything out of riak sub-directory

  • Participants
  • Parent commits 180068c

Comments (0)

Files changed (66)

File luke/luke.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke</h1>
+<h2 class="modsummary">The main entry point for Luke.</h2>
+<div class="description">
+<p>The main entry point for Luke. This module is responsible
+       for starting Luke as an OTP application and also
+       running new process flows.</p></div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="new_flow/2">new_flow(FlowId, FlowDesc) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/3">new_flow(Client, FlowId, FlowDesc) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/4">new_flow(Client, FlowId, FlowDesc, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/5">new_flow(Node, Client, FlowId, FlowDesc, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-5"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/6">new_flow(Node, Client, FlowId, FlowDesc, ResultTransformer, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-6"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start/0">start() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start-0"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start/2">start(StartType, StartArgs) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="stop/1">stop(State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="stop-1"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#new_flow/2">new_flow/2</a></li><li><a href="#new_flow/3">new_flow/3</a></li><li><a href="#new_flow/4">new_flow/4</a></li><li><a href="#new_flow/5">new_flow/5</a></li><li><a href="#new_flow/6">new_flow/6</a></li><li><a href="#start/0">start/0</a></li><li><a href="#start/2">start/2</a></li><li><a href="#stop/1">stop/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_flow.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_flow - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_flow</h1>
+<h2 class="modsummary">Manages the execution of a flow.</h2>
+<div class="description">
+<p>Manages the execution of a flow</p></div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="add_inputs/1">add_inputs(FlowPid::pid(), Inputs::any()) -&gt; ok</h3>
+
+
+<div class="description"><span id="add_inputs-2"> </span>
+
+<p>Add inputs to the flow. Inputs will be sent to the
+       first phase</p>
+</div></div>
+<div class="function">
+<h3 id="code_change/4">code_change(OldVsn, StateName, State, Extra) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="code_change-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="collect_output/1">collect_output(FlowId::any(), Timeout::integer()) -&gt; [any()] | {error, any()}</h3>
+
+
+<div class="description"><span id="collect_output-2"> </span>
+
+<p>Collects flow output. This function will block
+       until the flow completes or exceeds the flow_timeout.</p>
+</div></div>
+<div class="function">
+<h3 id="executing/2">executing(X1, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="executing-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="executing/3">executing(X1, From, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="executing-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="finish_inputs/1">finish_inputs(FlowPid::pid()) -&gt; ok</h3>
+
+
+<div class="description"><span id="finish_inputs-1"> </span>
+
+<p>Informs the phases all inputs are complete.</p>
+</div></div>
+<div class="function">
+<h3 id="get_phases/1">get_phases(FlowPid::pid()) -&gt; [pid()]</h3>
+
+
+<div class="description"><span id="get_phases-1"> </span>
+
+<p>Returns the pids for each phase. Intended for
+       testing only</p>
+</div></div>
+<div class="function">
+<h3 id="handle_event/3">handle_event(Event, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_event-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="handle_info/3">handle_info(Info, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_info-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="handle_sync_event/4">handle_sync_event(Event, From, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_sync_event-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/5">start_link(Client, FlowId, FlowDesc, FlowTransformer, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-5"> </span>
+ </div></div>
+<div class="function">
+<h3 id="terminate/3">terminate(Reason, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="terminate-3"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#add_inputs/1">add_inputs/1</a></li><li><a href="#code_change/4">code_change/4</a></li><li><a href="#collect_output/1">collect_output/1</a></li><li><a href="#executing/2">executing/2</a></li><li><a href="#executing/3">executing/3</a></li><li><a href="#finish_inputs/1">finish_inputs/1</a></li><li><a href="#get_phases/1">get_phases/1</a></li><li><a href="#handle_event/3">handle_event/3</a></li><li><a href="#handle_info/3">handle_info/3</a></li><li><a href="#handle_sync_event/4">handle_sync_event/4</a></li><li><a href="#init/1">init/1</a></li><li><a href="#start_link/5">start_link/5</a></li><li><a href="#terminate/3">terminate/3</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_flow_sup.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_flow_sup - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_flow_sup</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/4">new_flow(Client, FlowId, FlowDesc, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_flow/6">new_flow(Node, Client, FlowId, FlowDesc, ResultTransformer, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_flow-6"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/0">start_link() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-0"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#init/1">init/1</a></li><li><a href="#new_flow/4">new_flow/4</a></li><li><a href="#new_flow/6">new_flow/6</a></li><li><a href="#start_link/0">start_link/0</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_phase.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_phase - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_phase</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="behaviour_info/1">behaviour_info(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="behaviour_info-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="code_change/4">code_change(OldVsn, StateName, State, Extra) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="code_change-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="complete/0">complete() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="complete-0"> </span>
+ </div></div>
+<div class="function">
+<h3 id="executing/2">executing(Event, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="executing-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="handle_event/3">handle_event(Event, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_event-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="handle_info/3">handle_info(Info, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_info-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="handle_sync_event/4">handle_sync_event(Event, From, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="handle_sync_event-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="partners/3">partners(PhasePid, Leader, Partners) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="partners-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/7">start_link(PhaseMod, Id, Behaviors, NextPhases, Flow, Timeout, PhaseArgs) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-7"> </span>
+ </div></div>
+<div class="function">
+<h3 id="terminate/3">terminate(Reason, StateName, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="terminate-3"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#behaviour_info/1">behaviour_info/1</a></li><li><a href="#code_change/4">code_change/4</a></li><li><a href="#complete/0">complete/0</a></li><li><a href="#executing/2">executing/2</a></li><li><a href="#handle_event/3">handle_event/3</a></li><li><a href="#handle_info/3">handle_info/3</a></li><li><a href="#handle_sync_event/4">handle_sync_event/4</a></li><li><a href="#init/1">init/1</a></li><li><a href="#partners/3">partners/3</a></li><li><a href="#start_link/7">start_link/7</a></li><li><a href="#terminate/3">terminate/3</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_phase_sup.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_phase_sup - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_phase_sup</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new_phase/7">new_phase(Id, PhaseMod, Behavior, NextPhases, Flow, Timeout, PhaseArgs) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new_phase-7"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/0">start_link() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-0"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#init/1">init/1</a></li><li><a href="#new_phase/7">new_phase/7</a></li><li><a href="#start_link/0">start_link/0</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_phases.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_phases - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_phases</h1>
+<h2 class="modsummary">Encapsulates the messaging protocol used during flow processing.</h2>
+<div class="description">
+<p>Encapsulates the messaging protocol used during flow processing.       
+Some of these functions operate on either a single       
+phase pid or a list of phase pids.</p>
+ 
+       <p>Multiple pids are encountered when a phase has parallel
+       instances running. This is triggerd by the 'converge'
+       phase behavior.</p></div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="send_flow_complete/1">send_flow_complete(FlowPid::pid()) -&gt; ok</h3>
+
+
+<div class="description"><span id="send_flow_complete-1"> </span>
+
+<p>Signal completion of flow to the flow pid
+       This is sent by the last process of the last
+       phase in the flow</p>
+</div></div>
+<div class="function">
+<h3 id="send_flow_results/1">send_flow_results(FlowPid::pid(), Id::any(), Results::any()) -&gt; ok</h3>
+
+
+<div class="description"><span id="send_flow_results-3"> </span>
+
+<p>Sends flow results to the flow pid
+       This is sent by phases which are configured
+       to accumulate their results</p>
+</div></div>
+<div class="function">
+<h3 id="send_inputs/1">send_inputs(PhasePids::pid() | [pid()], Inputs::any()) -&gt; ok</h3>
+
+
+<div class="description"><span id="send_inputs-2"> </span>
+
+<p>Sends inputs to a phase process
+       If a phase has multiple processes, inputs
+       will be distributed in a round robin fashion.</p>
+</div></div>
+<div class="function">
+<h3 id="send_inputs_done/1">send_inputs_done(PhasePids) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="send_inputs_done-1"> </span>
+
+<p>Signals completion of inputs to a phase
+       or a list of phases.</p>
+</div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#send_flow_complete/1">send_flow_complete/1</a></li><li><a href="#send_flow_results/1">send_flow_results/1</a></li><li><a href="#send_inputs/1">send_inputs/1</a></li><li><a href="#send_inputs_done/1">send_inputs_done/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File luke/luke_sup.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>luke_sup - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>luke_sup</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/0">start_link() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-0"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#init/1">init/1</a></li><li><a href="#start_link/0">start_link/0</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/app_helper.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>app_helper - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>app_helper</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="get_env/1">get_env(App::atom()) -&gt; [{Key::atom(), Value::term()}]</h3>
+
+
+<div class="description"><span id="get_env-1"> </span>
+
+<p>Retrieve all Key/Value pairs in the env for the specified app.</p>
+</div></div>
+<div class="function">
+<h3 id="get_env/1-1">get_env(App::atom(), Key::atom()) -&gt; term()</h3>
+
+
+<div class="description"><span id="get_env-2"> </span>
+
+<p>The official way to get a value from the app's env.
+       Will return the 'undefined' atom if that key is unset.</p>
+</div></div>
+<div class="function">
+<h3 id="get_env/1-2">get_env(App::atom(), Key::atom(), Default::term()) -&gt; term()</h3>
+
+
+<div class="description"><span id="get_env-3"> </span>
+
+<p>The official way to get a value from this application's env.
+       Will return Default if that key is unset.</p>
+</div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#get_env/1">get_env/1</a></li><li><a href="#get_env/1-1">get_env/1-1</a></li><li><a href="#get_env/1-2">get_env/1-2</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/bloom.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>bloom - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>bloom</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="add/2">add(Elem, Bloom) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="add-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="add_element/2">add_element(E, B) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="add_element-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="bloom/1">bloom(N) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="bloom-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="bloom/2">bloom(N, E) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="bloom-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="capacity/1">capacity(Bloom) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="capacity-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="is_element/2">is_element(E, B) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="is_element-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="member/2">member(Elem, Bloom) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="member-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="sbf/1">sbf(N) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="sbf-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="sbf/2">sbf(N, E) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="sbf-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="sbf/3">sbf(N, E, X3) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="sbf-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="sbf/4">sbf(N, E, S, R) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="sbf-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="size/1">size(Bloom) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="size-1"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#add/2">add/2</a></li><li><a href="#add_element/2">add_element/2</a></li><li><a href="#bloom/1">bloom/1</a></li><li><a href="#bloom/2">bloom/2</a></li><li><a href="#capacity/1">capacity/1</a></li><li><a href="#is_element/2">is_element/2</a></li><li><a href="#member/2">member/2</a></li><li><a href="#sbf/1">sbf/1</a></li><li><a href="#sbf/2">sbf/2</a></li><li><a href="#sbf/3">sbf/3</a></li><li><a href="#sbf/4">sbf/4</a></li><li><a href="#size/1">size/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/chash.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>chash - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>chash</h1>
+<h2 class="modsummary">A consistent hashing implementation.</h2>
+<div class="description">
+<p>A consistent hashing implementation.  The space described by the ring
+       coincides with SHA-1 hashes, and so any two keys producing the same
+       SHA-1 hash are considered identical within the ring.
+ </p></div>
+<div class="section"><h4>DATA TYPES</h4><span id="types"> </span>
+
+<dl>
+<dt><code>chash() = {NumPartitions, [NodeEntry]}</code></dt>
+<dd><span id="type-chash"> </span>
+<ul><li><code>NumPartitions = integer()</code></li><li><code>NodeEntry = {IndexAsInt, Node}</code></li><li><code>IndexAsInt = integer()</code></li><li><code>Node = node()</code></li></ul>
+<p>It is not recommended that code outside this module make use
+ of the structure of a chash.</p>
+</dd>
+<dt><code>index() = binary()</code></dt>
+<li><span id="type-index"> </span>
+<p>Indices into the ring, used as keys for object location, are binary
+ representations of 160-bit integers.</p>
+</li>
+<dt><code>node() = term()</code></dt>
+<li><span id="type-node"> </span>
+<p>A Node is the unique identifier for the owner of a given partition.
+ An Erlang Pid works well here, but the chash module allows it to
+ be any term.</p>
+</li>
+</dl></div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="contains_name/1">contains_name(Name::node(), CHash::chash()) -&gt; bool()</h3>
+
+
+<div class="description"><span id="contains_name-2"> </span>
+
+<p>Return true if named Node owns any partitions in the ring, else false.</p>
+</div></div>
+<div class="function">
+<h3 id="fresh/1">fresh(NumPartitions::integer(), SeedNode::node()) -&gt; chash()</h3>
+
+
+<div class="description"><span id="fresh-2"> </span>
+
+<p>Create a brand new ring.  The size and seednode are specified;
+      initially all partitions are owned by the seednode.  If NumPartitions
+      is not much larger than the intended eventual number of
+       participating nodes, then performance will suffer.</p>
+</div></div>
+<div class="function">
+<h3 id="key_of/1">key_of(ObjectName::term()) -&gt; index()</h3>
+
+
+<div class="description"><span id="key_of-1"> </span>
+
+<p>Given any term used to name an object, produce that object's key
+      into the ring.  Two names with the same SHA-1 hash value are
+      considered the same name.</p>
+</div></div>
+<div class="function">
+<h3 id="lookup/1">lookup(IndexAsInt::integer(), CHash::chash()) -&gt; node()</h3>
+
+
+<div class="description"><span id="lookup-2"> </span>
+
+<p>Find the Node that owns the partition identified by IndexAsInt.</p>
+</div></div>
+<div class="function">
+<h3 id="members/1">members(CHash::chash()) -&gt; [Node]</h3>
+
+
+<div class="description"><span id="members-1"> </span>
+
+<p>Return all Nodes that own any partitions in the ring.</p>
+</div></div>
+<div class="function">
+<h3 id="merge_rings/1">merge_rings(CHashA::chash(), CHashB::chash()) -&gt; chash()</h3>
+
+
+<div class="description"><span id="merge_rings-2"> </span>
+
+<p>Return a randomized merge of two rings.
+      If multiple nodes are actively claiming nodes in the same
+      time period, churn will occur.  Be prepared to live with it.</p>
+</div></div>
+<div class="function">
+<h3 id="nodes/1">nodes(CHash::chash()) -&gt; [NodeEntry]</h3>
+
+
+<div class="description"><span id="nodes-1"> </span>
+
+<p>Return the entire set of NodeEntries in the ring.</p>
+</div></div>
+<div class="function">
+<h3 id="predecessors/1">predecessors(Index::index(), CHash::chash()) -&gt; [NodeEntry]</h3>
+
+
+<div class="description"><span id="predecessors-2"> </span>
+
+<p>Given an object key, return all NodeEntries in reverse order
+      starting at Index.</p>
+</div></div>
+<div class="function">
+<h3 id="predecessors/3">predecessors(Index, CHash, N) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="predecessors-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="size/1">size(CHash::chash()) -&gt; integer()</h3>
+
+
+<div class="description"><span id="size-1"> </span>
+
+<p>Return the number of partitions in the ring.</p>
+</div></div>
+<div class="function">
+<h3 id="successors/1">successors(Index::index(), CHash::chash()) -&gt; [NodeEntry]</h3>
+
+
+<div class="description"><span id="successors-2"> </span>
+
+<p>Given an object key, return all NodeEntries in order starting at Index.</p>
+</div></div>
+<div class="function">
+<h3 id="successors/3">successors(Index, CHash, N) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="successors-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="update/1">update(IndexAsInt::integer(), Name::node(), CHash::chash()) -&gt; chash()</h3>
+
+
+<div class="description"><span id="update-3"> </span>
+
+<p>Make the partition beginning at IndexAsInt owned by Name'd node.</p>
+</div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#contains_name/1">contains_name/1</a></li><li><a href="#fresh/1">fresh/1</a></li><li><a href="#key_of/1">key_of/1</a></li><li><a href="#lookup/1">lookup/1</a></li><li><a href="#members/1">members/1</a></li><li><a href="#merge_rings/1">merge_rings/1</a></li><li><a href="#nodes/1">nodes/1</a></li><li><a href="#predecessors/1">predecessors/1</a></li><li><a href="#predecessors/3">predecessors/3</a></li><li><a href="#size/1">size/1</a></li><li><a href="#successors/1">successors/1</a></li><li><a href="#successors/3">successors/3</a></li><li><a href="#update/1">update/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/gen_nb_server.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>gen_nb_server - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>gen_nb_server</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="start_link/4">start_link(CallbackModule, IpAddr, Port, InitParams) -&gt; Result</h3>
+
+<ul class="type">
+<li><code>CallbackModule = atom()</code></li><li><code>IpAddr = string()</code></li><li><code>Port = integer()</code></li><li><code>InitParams = [any()]</code></li><li><code>Result = {ok, pid()} | {error, any()}</code></li></ul>
+<div class="description"><span id="start_link-4"> </span>
+
+<p>Start server listening on IpAddr:Port</p>
+</div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#start_link/4">start_link/4</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/gen_server2.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>gen_server2 - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>gen_server2</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="abcast/2">abcast(Name, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="abcast-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="abcast/3">abcast(Nodes, Name, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="abcast-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="behaviour_info/1">behaviour_info(Other) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="behaviour_info-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="call/2">call(Name, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="call-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="call/3">call(Name, Request, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="call-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="cast/2">cast(Dest, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="cast-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="enter_loop/3">enter_loop(Mod, Options, State) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="enter_loop-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="enter_loop/4">enter_loop(Mod, Options, State, ServerName) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="enter_loop-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="enter_loop/5">enter_loop(Mod, Options, State, ServerName, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="enter_loop-5"> </span>
+ </div></div>
+<div class="function">
+<h3 id="format_status/2">format_status(Opt, StatusData) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="format_status-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="init_it/6">init_it(Starter, Parent, Name, Mod, Args, Options) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init_it-6"> </span>
+ </div></div>
+<div class="function">
+<h3 id="multi_call/2">multi_call(Name, Req) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="multi_call-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="multi_call/3">multi_call(Nodes, Name, Req) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="multi_call-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="multi_call/4">multi_call(Nodes, Name, Req, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="multi_call-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="pcall/3">pcall(Name, Priority, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="pcall-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="pcall/4">pcall(Name, Priority, Request, Timeout) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="pcall-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="pcast/3">pcast(Dest, Priority, Request) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="pcast-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="print_event/3">print_event(Dev, Event, Name) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="print_event-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="reply/2">reply(X1, Reply) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="reply-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start/3">start(Mod, Args, Options) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start/4">start(Name, Mod, Args, Options) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/3">start_link(Mod, Args, Options) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/4">start_link(Name, Mod, Args, Options) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="system_code_change/4">system_code_change(X1, Module, OldVsn, Extra) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="system_code_change-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="system_continue/3">system_continue(Parent, Debug, X3) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="system_continue-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="system_terminate/4">system_terminate(Reason, Parent, Debug, X4) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="system_terminate-4"> </span>
+ </div></div>
+<div class="function">
+<h3 id="wake_hib/7">wake_hib(Parent, Name, State, Mod, TimeoutState, Queue, Debug) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="wake_hib-7"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#abcast/2">abcast/2</a></li><li><a href="#abcast/3">abcast/3</a></li><li><a href="#behaviour_info/1">behaviour_info/1</a></li><li><a href="#call/2">call/2</a></li><li><a href="#call/3">call/3</a></li><li><a href="#cast/2">cast/2</a></li><li><a href="#enter_loop/3">enter_loop/3</a></li><li><a href="#enter_loop/4">enter_loop/4</a></li><li><a href="#enter_loop/5">enter_loop/5</a></li><li><a href="#format_status/2">format_status/2</a></li><li><a href="#init_it/6">init_it/6</a></li><li><a href="#multi_call/2">multi_call/2</a></li><li><a href="#multi_call/3">multi_call/3</a></li><li><a href="#multi_call/4">multi_call/4</a></li><li><a href="#pcall/3">pcall/3</a></li><li><a href="#pcall/4">pcall/4</a></li><li><a href="#pcast/3">pcast/3</a></li><li><a href="#print_event/3">print_event/3</a></li><li><a href="#reply/2">reply/2</a></li><li><a href="#start/3">start/3</a></li><li><a href="#start/4">start/4</a></li><li><a href="#start_link/3">start_link/3</a></li><li><a href="#start_link/4">start_link/4</a></li><li><a href="#system_code_change/4">system_code_change/4</a></li><li><a href="#system_continue/3">system_continue/3</a></li><li><a href="#system_terminate/4">system_terminate/4</a></li><li><a href="#wake_hib/7">wake_hib/7</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/json_pp.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>json_pp - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>json_pp</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="print/1">print(Str) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="print-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="test/0">test() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="test-0"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#print/1">print/1</a></li><li><a href="#test/0">test/0</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/merkerl.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>merkerl - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>merkerl</h1>
+<h2 class="modsummary">An implementation of Merkle Trees for anti-entropy.</h2>
+<div class="description">
+<p>An implementation of Merkle Trees for anti-entropy.</p>
+ 
+  <p>Intended use is for synchronizing two key/value stores with similar but  
+potentially-divergent content.</p>
+ 
+  <p>Typical usage is when a pair (or more) of nodes or systems have views of a  
+set of key/value objects which can change independently.  Whenever a new  
+object is created or an existing one is modified (there is no difference from  
+the merkle point of view) the node seeing the change performs an insert/2 to  
+record the change.  At any time, one node can send a representation of its  
+tree to another node.  The receiving node can diff/2 the trees to see which  
+objects differ on the two systems.  From this information, a system knows  
+exactly which objects to send or request in order to converge toward a common  
+view of the world.  Of course, if the objects contain versioning information  
+it will be much easier to resolve which node's view for any given object is  
+newer.</p>
+ 
+  <p>See the code of merkle_test/0 for trivial example usage.</p>
+ 
+  <p>Application usage note: the 'crypto' OTP application must be started before
+  any of this module's functions will work.
+ </p></div>
+<div class="section"><h4>DATA TYPES</h4><span id="types"> </span>
+
+<dl>
+<dt><code>hash() = binary()</code></dt>
+<dd><span id="type-hash"> </span>
+<p>This is a hash representing a unique content value for an object
+ tracked by a Merkle tree.
+ It should change if the object it references changes in value.
+ It is expected to be a 160b binary, as produced by
+ crypto:sha/1 -- crypto:sha(term_to_binary(value)) is the canonical
+ way to produce a hash().</p>
+</dd>
+<dt><code>key() = binary()</code></dt>
+<dd><span id="type-key"> </span>
+<p>This is the key, or "name" for an object tracked by a Merkle tree.
+ It should remain constant through changes to the object it references.
+ It is expected to be a 160b binary, as produced by
+ crypto:sha/1 -- if the natural names of objects are not such values,
+ then simply crypto:sha(term_to_binary(the-name&gt;).</p>
+</dd>
+<dt><code>tree() = treeleaf() | treeinner() | undefined</code></dt>
+<dd><span id="type-tree"> </span>
+<p>The tree() type here is used as the internal representation of
+ a Merkle tree.  It can be used locally with insert/2 or pickled
+ via term_to_binary and inverse for use remotely in diff/2.</p>
+</dd>
+<dt><code>treeinner() = term()</code></dt>
+<dd><span id="type-treeinner"> </span>
+<p>Not externally useful, this is one of two record types making up tree().</p>
+</dd>
+<dt><code>treeleaf() = term()</code></dt>
+<dd><span id="type-treeleaf"> </span>
+<p>Not externally useful, this is one of two record types making up tree().</p>
+</dd>
+</dl></div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="allkeys/1">allkeys(Tree) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="allkeys-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="build_tree/1">build_tree(KHL) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="build_tree-1"> </span>
+
+<p>Build a Merkle tree from a list of KH's of objects.</p>
+</div></div>
+<div class="function">
+<h3 id="delete/2">delete(Key, Tree) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="delete-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="diff/1">diff(X::tree(), TreeB::tree()) -&gt; [key()]</h3>
+
+
+<div class="description"><span id="diff-2"> </span>
+
+<p>Find the keys of objects which differ between the two trees.</p>
+
+ <p>For this purpose, "differ" means that an object either exists in 
+only one of the two trees or it exists in both but with different 
+hash() values.</p>
+
+ No information about the differing objects is provided except the keys.
+ (Objects with vector-clock versioning are helpful here)
+</div></div>
+<div class="function">
+<h3 id="insert/2">insert(X1, T) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="insert-2"> </span>
+
+<p>Insert the KH for a new or changed object into T.</p>
+
+ This is used much like a typical tree-insert function.
+ To create a new tree, this can be called with T set to the atom 'undefined'.
+</div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#allkeys/1">allkeys/1</a></li><li><a href="#build_tree/1">build_tree/1</a></li><li><a href="#delete/2">delete/2</a></li><li><a href="#diff/1">diff/1</a></li><li><a href="#insert/2">insert/2</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/priority_queue.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>priority_queue - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>priority_queue</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="in/2">in(Item, Q) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="in-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="in/3">in(X, Priority, Q) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="in-3"> </span>
+ </div></div>
+<div class="function">
+<h3 id="is_empty/1">is_empty(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="is_empty-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="is_queue/1">is_queue(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="is_queue-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="join/2">join(A, B) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="join-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="len/1">len(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="len-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="new/0">new() -&gt; term()
+</h3>
+
+
+<div class="description"><span id="new-0"> </span>
+ </div></div>
+<div class="function">
+<h3 id="out/1">out(Q) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="out-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="out/2">out(Priority, Q) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="out-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="pout/1">pout(Q) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="pout-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="to_list/1">to_list(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="to_list-1"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#in/2">in/2</a></li><li><a href="#in/3">in/3</a></li><li><a href="#is_empty/1">is_empty/1</a></li><li><a href="#is_queue/1">is_queue/1</a></li><li><a href="#join/2">join/2</a></li><li><a href="#len/1">len/1</a></li><li><a href="#new/0">new/0</a></li><li><a href="#out/1">out/1</a></li><li><a href="#out/2">out/2</a></li><li><a href="#pout/1">pout/1</a></li><li><a href="#to_list/1">to_list/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";
+    </script>
+
+    <script type="text/javascript" src="../jquery.js"></script>
+    <script type="text/javascript" src="../erldocs_index.js"></script>
+    <script type="text/javascript" src="../erldocs.js"></script>
+
+    <script type="text/javascript">
+      var _gaq = _gaq || [];
+      _gaq.push(['_setAccount', 'UA-59760-14']);
+      _gaq.push(['_trackPageview']);
+      
+      (function() {
+        var ga = document.createElement('script');
+        ga.src = ('https:' == document.location.protocol ?
+          'https://ssl' : 'http://www') +
+          '.google-analytics.com/ga.js';
+        ga.setAttribute('async', 'true');
+        document.documentElement.firstChild.appendChild(ga);
+      })();
+    </script>
+  </body>
+</html>
+

File riak_core/process_proxy.html

+<!DOCTYPE html>
+<html lang="en">
+
+  <head>
+    <meta charset="utf-8" />
+    <title>process_proxy - riak - erldocs.com (Erlang Documentation)</title>
+    <link type="text/css" rel="stylesheet" href="../erldocs.css" />
+  </head>
+  
+  <body>
+
+    <div id="sidebar" class="inactive">
+      <input type="text" id="search" autocomplete="off" 
+             placeholder="press TAB to search" />
+      <ul id="results"> </ul>
+    </div>
+
+    <div id="content">
+      <div style="margin:0px; padding:10px 20px;">
+        
+
+<h1>process_proxy</h1>
+<h2 class="modsummary" />
+<div class="description">
+</div>
+<div class="functions"><h4>Functions</h4><hr  />
+<div class="function">
+<h3 id="init/1">init(X1) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="init-1"> </span>
+ </div></div>
+<div class="function">
+<h3 id="start_link/2">start_link(RegName, ProxyTo) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="start_link-2"> </span>
+ </div></div>
+<div class="function">
+<h3 id="stop/1">stop(Name) -&gt; term()
+</h3>
+
+
+<div class="description"><span id="stop-1"> </span>
+ </div></div></div>
+
+<authors>
+<aname> </aname>
+<email> </email></authors>
+      </div>
+      <div id="funwrapper">
+        <a id="viewfuns">View Functions</a>
+        <ul id="funs"><li><a href="#init/1">init/1</a></li><li><a href="#start_link/2">start_link/2</a></li><li><a href="#stop/1">stop/1</a></li></ul>
+      </div>
+    </div>
+
+    <script type="text/javascript">
+      var CURRENT_ROOT = "../";