This commit is contained in:
bthomee
2025-08-19 09:49:50 -07:00
parent bb5efdeec8
commit e7f4ae8bed
14888 changed files with 259444 additions and 168566 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: MemoryFactory.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -110,6 +115,7 @@ $(function() {
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">namespace </span>NodeStore {</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1MemoryDB.html"> 35</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1MemoryDB.html#a0f567e06098f1789ecc0aea69e8a2e6d"> 37</a></span> <span class="keyword">explicit</span> <a class="code hl_function" href="structripple_1_1NodeStore_1_1MemoryDB.html#a0f567e06098f1789ecc0aea69e8a2e6d">MemoryDB</a>() = <span class="keywordflow">default</span>;</div>
@@ -118,7 +124,9 @@ $(function() {
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1MemoryDB.html#a2ac1944192a27f05e81b802473b85270"> 40</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structripple_1_1NodeStore_1_1MemoryDB.html#a2ac1944192a27f05e81b802473b85270">open</a> = <span class="keyword">false</span>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944"> 41</a></span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map&lt;uint256 const, std::shared_ptr&lt;NodeObject&gt;</a>&gt; <a class="code hl_variable" href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944">table</a>;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>};</div>
</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html"> 44</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NodeStore_1_1MemoryFactory.html">MemoryFactory</a> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Factory.html">Factory</a></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>{</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">private</span>:</div>
@@ -141,6 +149,7 @@ $(function() {
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <a class="code hl_struct" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a>&amp;</div>
<div class="foldopen" id="foldopen00066" data-start="{" data-end="}">
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54"> 66</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54">open</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; path)</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> {</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> _(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryFactory.html#aed56d3246c20509191dcddb12b5ceb00">mutex_</a>);</div>
@@ -151,12 +160,15 @@ $(function() {
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> Throw&lt;std::runtime_error&gt;(<span class="stringliteral">&quot;already open&quot;</span>);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordflow">return</span> db;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> }</div>
</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span>};</div>
</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> </div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="namespaceripple_1_1NodeStore.html#a15e3325559e2eaa7e32aa277e998a460"> 78</a></span><span class="keyword">static</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1MemoryFactory.html">MemoryFactory</a> <a class="code hl_variable" href="namespaceripple_1_1NodeStore.html#a15e3325559e2eaa7e32aa277e998a460">memoryFactory</a>;</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
<div class="foldopen" id="foldopen00082" data-start="{" data-end="};">
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html"> 82</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NodeStore_1_1MemoryBackend.html">MemoryBackend</a> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>{</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="keyword">private</span>:</div>
@@ -167,6 +179,7 @@ $(function() {
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f"> 89</a></span> <a class="code hl_struct" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a>* <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a>{<span class="keyword">nullptr</span>};</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00092" data-start="{" data-end="}">
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa0d4dfe4f3c07c9fcecbb9e4dc06138d"> 92</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa0d4dfe4f3c07c9fcecbb9e4dc06138d">MemoryBackend</a>(</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">size_t</span> keyBytes,</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>&amp; keyValues,</div>
@@ -177,39 +190,51 @@ $(function() {
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a68db5737a6a61f08b0057c6feda9a60e">name_</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">empty</a>())</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> Throw&lt;std::runtime_error&gt;(<span class="stringliteral">&quot;Missing path in Memory backend&quot;</span>);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> }</div>
</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div>
<div class="foldopen" id="foldopen00103" data-start="{" data-end="}">
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a3395d78b5b2cf470059c43e0d8817a"> 103</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a3395d78b5b2cf470059c43e0d8817a">~MemoryBackend</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a0a629815bc2dfa046866f0b28dea0887">close</a>();</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> }</div>
</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="foldopen" id="foldopen00109" data-start="{" data-end="}">
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a6c8bde126310dfbe7837ebdcc43b3bd2"> 109</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a6c8bde126310dfbe7837ebdcc43b3bd2">getName</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">return</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a68db5737a6a61f08b0057c6feda9a60e">name_</a>;</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> }</div>
</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00115" data-start="{" data-end="}">
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a4e5920f4c51902aef93021277aa8ab37"> 115</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a4e5920f4c51902aef93021277aa8ab37">open</a>(<span class="keywordtype">bool</span> createIfMissing)<span class="keyword"> override</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a> = &amp;<a class="code hl_variable" href="namespaceripple_1_1NodeStore.html#a15e3325559e2eaa7e32aa277e998a460">memoryFactory</a>.<a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54">open</a>(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a68db5737a6a61f08b0057c6feda9a60e">name_</a>);</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> }</div>
</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00121" data-start="{" data-end="}">
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ada78f1edc055747acbcd9b0da846d743"> 121</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ada78f1edc055747acbcd9b0da846d743">isOpen</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> <span class="keywordflow">return</span> <span class="keyword">static_cast&lt;</span><span class="keywordtype">bool</span><span class="keyword">&gt;</span>(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a>);</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> }</div>
</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span> </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00127" data-start="{" data-end="}">
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a0a629815bc2dfa046866f0b28dea0887"> 127</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a0a629815bc2dfa046866f0b28dea0887">close</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a> = <span class="keyword">nullptr</span>;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> }</div>
</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"> 131</span> </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"> 132</span> <span class="comment">//--------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"> 133</span> </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> <a class="code hl_enumeration" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">Status</a></div>
<div class="foldopen" id="foldopen00135" data-start="{" data-end="}">
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad1c41ea346dc8b8202fd05f67349735c"> 135</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad1c41ea346dc8b8202fd05f67349735c">fetch</a>(<span class="keywordtype">void</span> <span class="keyword">const</span>* key, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a>* pObject)<span class="keyword"> override</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> XRPL_ASSERT(</div>
@@ -227,8 +252,10 @@ $(function() {
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> *pObject = iter-&gt;second;</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="keywordflow">return</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ok</a>;</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> }</div>
</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair&lt;std::vector&lt;std::shared_ptr&lt;NodeObject&gt;</a>&gt;, <a class="code hl_enumeration" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">Status</a>&gt;</div>
<div class="foldopen" id="foldopen00154" data-start="{" data-end="}">
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a914efe50059a9990c60e592a27bbad66"> 154</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a914efe50059a9990c60e592a27bbad66">fetchBatch</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;uint256 const*&gt;</a> <span class="keyword">const</span>&amp; hashes)<span class="keyword"> override</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;std::shared_ptr&lt;NodeObject&gt;</a>&gt; results;</div>
@@ -245,8 +272,10 @@ $(function() {
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"> 167</span> </div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"> 168</span> <span class="keywordflow">return</span> {results, <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ok</a>};</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> }</div>
</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00172" data-start="{" data-end="}">
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a40130939ef641571abf616a970d63957"> 172</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a40130939ef641571abf616a970d63957">store</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a> <span class="keyword">const</span>&amp; <span class="keywordtype">object</span>)<span class="keyword"> override</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> XRPL_ASSERT(</div>
@@ -254,20 +283,26 @@ $(function() {
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> _(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a>-&gt;<a class="code hl_variable" href="structripple_1_1NodeStore_1_1MemoryDB.html#adc361d2c245d8306f53fae470124b710">mutex</a>);</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a>-&gt;<a class="code hl_variable" href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944">table</a>.emplace(object-&gt;getHash(), <span class="keywordtype">object</span>);</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> }</div>
</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00181" data-start="{" data-end="}">
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab677b7560cd27c159ad78e1412513d5f"> 181</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab677b7560cd27c159ad78e1412513d5f">storeBatch</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Batch</a> <span class="keyword">const</span>&amp; <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">batch</a>)<span class="keyword"> override</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>&amp; e : <a class="code hl_enumvalue" href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">batch</a>)</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a40130939ef641571abf616a970d63957">store</a>(e);</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> }</div>
</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"> 186</span> </div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"> 187</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00188" data-start="{" data-end="}">
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a01b5df53b3ca0487785188f98b4320"> 188</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a01b5df53b3ca0487785188f98b4320">sync</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> }</div>
</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> </div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00193" data-start="{" data-end="}">
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa6f448cbec37beaa817905fe441c511c"> 193</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa6f448cbec37beaa817905fe441c511c">for_each</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a>)&gt; f)<span class="keyword"> override</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> XRPL_ASSERT(</div>
@@ -276,44 +311,59 @@ $(function() {
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>&amp; e : <a class="code hl_variable" href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">db_</a>-&gt;<a class="code hl_variable" href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944">table</a>)</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> f(e.second);</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> }</div>
</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> <span class="keywordtype">int</span></div>
<div class="foldopen" id="foldopen00203" data-start="{" data-end="}">
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab56c3ec0fd054251bfe27125a9092973"> 203</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab56c3ec0fd054251bfe27125a9092973">getWriteLoad</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> }</div>
</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> </div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> <span class="keywordtype">void</span></div>
<div class="foldopen" id="foldopen00209" data-start="{" data-end="}">
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ac0e6ebc55d43139af9a26254ed736609"> 209</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ac0e6ebc55d43139af9a26254ed736609">setDeletePath</a>()<span class="keyword"> override</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> }</div>
</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> <span class="keywordtype">int</span></div>
<div class="foldopen" id="foldopen00214" data-start="{" data-end="}">
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad11105242d588bfd1c07bf7d3d729790"> 214</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad11105242d588bfd1c07bf7d3d729790">fdRequired</a>()<span class="keyword"> const override</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"> 215</span><span class="keyword"> </span>{</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"> 216</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span> }</div>
</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span>};</div>
</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span> </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"> 220</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> </div>
<div class="foldopen" id="foldopen00222" data-start="{" data-end="}">
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a499570139059a31fc8e1d62ad1e1869f"> 222</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a499570139059a31fc8e1d62ad1e1869f">MemoryFactory::MemoryFactory</a>()</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span>{</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">Manager::instance</a>().<a class="code hl_function" href="classripple_1_1NodeStore_1_1Manager.html#ab1f23554e59a7319ffe3e235cd7028c3">insert</a>(*<span class="keyword">this</span>);</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span>}</div>
</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="foldopen" id="foldopen00227" data-start="{" data-end="}">
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a6d3c6f7cf8d453e1a2457f75074e40e9"> 227</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a6d3c6f7cf8d453e1a2457f75074e40e9">MemoryFactory::~MemoryFactory</a>()</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span>{</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">Manager::instance</a>().<a class="code hl_function" href="classripple_1_1NodeStore_1_1Manager.html#a9b76452a117753769c60071959d65f23">erase</a>(*<span class="keyword">this</span>);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span>}</div>
</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="foldopen" id="foldopen00233" data-start="{" data-end="}">
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84"> 233</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84">MemoryFactory::getName</a>()<span class="keyword"> const</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="keyword"></span>{</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> <span class="keywordflow">return</span> <span class="stringliteral">&quot;Memory&quot;</span>;</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span>}</div>
</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Backend&gt;</a></div>
<div class="foldopen" id="foldopen00239" data-start="{" data-end="}">
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b"> 239</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b">MemoryFactory::createInstance</a>(</div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span> <span class="keywordtype">size_t</span> keyBytes,</div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>&amp; keyValues,</div>
@@ -321,63 +371,65 @@ $(function() {
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>&amp; scheduler,</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"> 244</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span>{</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keywordflow">return</span> std::make_unique&lt;MemoryBackend&gt;(keyBytes, keyValues, journal);</div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span> <span class="keywordflow">return</span> <a class="code hl_variableRef" href="http://en.cppreference.com/w/cpp/types/is_same.html">std::make_unique&lt;MemoryBackend&gt;</a>(keyBytes, keyValues, journal);</div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span>}</div>
</div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span> </div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span>} <span class="comment">// namespace NodeStore</span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span>} <span class="comment">// namespace ripple</span></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Backend_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Backend.html">ripple::NodeStore::Backend</a></div><div class="ttdoc">A backend used for the NodeStore.</div><div class="ttdef"><b>Definition:</b> <a href="Backend_8h_source.html#l00039">Backend.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html">ripple::NodeStore::Factory</a></div><div class="ttdoc">Base class for backend factories.</div><div class="ttdef"><b>Definition:</b> <a href="Factory_8h_source.html#l00036">Factory.h:37</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_a59f9bcb7e6049d1b4c557891992f6cab"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">ripple::NodeStore::Manager::instance</a></div><div class="ttdeci">static Manager &amp; instance()</div><div class="ttdoc">Returns the instance of the manager singleton.</div><div class="ttdef"><b>Definition:</b> <a href="ManagerImp_8cpp_source.html#l00116">ManagerImp.cpp:116</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Backend_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Backend.html">ripple::NodeStore::Backend</a></div><div class="ttdoc">A backend used for the NodeStore.</div><div class="ttdef"><b>Definition</b> <a href="Backend_8h_source.html#l00039">Backend.h:40</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html">ripple::NodeStore::Factory</a></div><div class="ttdoc">Base class for backend factories.</div><div class="ttdef"><b>Definition</b> <a href="Factory_8h_source.html#l00036">Factory.h:37</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_a59f9bcb7e6049d1b4c557891992f6cab"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#a59f9bcb7e6049d1b4c557891992f6cab">ripple::NodeStore::Manager::instance</a></div><div class="ttdeci">static Manager &amp; instance()</div><div class="ttdoc">Returns the instance of the manager singleton.</div><div class="ttdef"><b>Definition</b> <a href="ManagerImp_8cpp_source.html#l00116">ManagerImp.cpp:116</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_a9b76452a117753769c60071959d65f23"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#a9b76452a117753769c60071959d65f23">ripple::NodeStore::Manager::erase</a></div><div class="ttdeci">virtual void erase(Factory &amp;factory)=0</div><div class="ttdoc">Remove a factory.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Manager_html_ab1f23554e59a7319ffe3e235cd7028c3"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Manager.html#ab1f23554e59a7319ffe3e235cd7028c3">ripple::NodeStore::Manager::insert</a></div><div class="ttdeci">virtual void insert(Factory &amp;factory)=0</div><div class="ttdoc">Add a factory.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html">ripple::NodeStore::MemoryBackend</a></div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00082">MemoryFactory.cpp:83</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a0a629815bc2dfa046866f0b28dea0887"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a0a629815bc2dfa046866f0b28dea0887">ripple::NodeStore::MemoryBackend::close</a></div><div class="ttdeci">void close() override</div><div class="ttdoc">Close the backend.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00127">MemoryFactory.cpp:127</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a40130939ef641571abf616a970d63957"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a40130939ef641571abf616a970d63957">ripple::NodeStore::MemoryBackend::store</a></div><div class="ttdeci">void store(std::shared_ptr&lt; NodeObject &gt; const &amp;object) override</div><div class="ttdoc">Store a single object.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00172">MemoryFactory.cpp:172</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a4e5920f4c51902aef93021277aa8ab37"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a4e5920f4c51902aef93021277aa8ab37">ripple::NodeStore::MemoryBackend::open</a></div><div class="ttdeci">void open(bool createIfMissing) override</div><div class="ttdoc">Open the backend.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00115">MemoryFactory.cpp:115</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a68db5737a6a61f08b0057c6feda9a60e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a68db5737a6a61f08b0057c6feda9a60e">ripple::NodeStore::MemoryBackend::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00087">MemoryFactory.cpp:87</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a6c8bde126310dfbe7837ebdcc43b3bd2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a6c8bde126310dfbe7837ebdcc43b3bd2">ripple::NodeStore::MemoryBackend::getName</a></div><div class="ttdeci">std::string getName() override</div><div class="ttdoc">Get the human-readable name of this backend.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00109">MemoryFactory.cpp:109</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a7a01b5df53b3ca0487785188f98b4320"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a01b5df53b3ca0487785188f98b4320">ripple::NodeStore::MemoryBackend::sync</a></div><div class="ttdeci">void sync() override</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00188">MemoryFactory.cpp:188</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a7a3395d78b5b2cf470059c43e0d8817a"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a3395d78b5b2cf470059c43e0d8817a">ripple::NodeStore::MemoryBackend::~MemoryBackend</a></div><div class="ttdeci">~MemoryBackend() override</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00103">MemoryFactory.cpp:103</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a914efe50059a9990c60e592a27bbad66"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a914efe50059a9990c60e592a27bbad66">ripple::NodeStore::MemoryBackend::fetchBatch</a></div><div class="ttdeci">std::pair&lt; std::vector&lt; std::shared_ptr&lt; NodeObject &gt; &gt;, Status &gt; fetchBatch(std::vector&lt; uint256 const * &gt; const &amp;hashes) override</div><div class="ttdoc">Fetch a batch synchronously.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00154">MemoryFactory.cpp:154</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_aa0d4dfe4f3c07c9fcecbb9e4dc06138d"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa0d4dfe4f3c07c9fcecbb9e4dc06138d">ripple::NodeStore::MemoryBackend::MemoryBackend</a></div><div class="ttdeci">MemoryBackend(size_t keyBytes, Section const &amp;keyValues, beast::Journal journal)</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00092">MemoryFactory.cpp:92</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_aa6f448cbec37beaa817905fe441c511c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa6f448cbec37beaa817905fe441c511c">ripple::NodeStore::MemoryBackend::for_each</a></div><div class="ttdeci">void for_each(std::function&lt; void(std::shared_ptr&lt; NodeObject &gt;)&gt; f) override</div><div class="ttdoc">Visit every object in the database This is usually called during import.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00193">MemoryFactory.cpp:193</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ab56c3ec0fd054251bfe27125a9092973"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab56c3ec0fd054251bfe27125a9092973">ripple::NodeStore::MemoryBackend::getWriteLoad</a></div><div class="ttdeci">int getWriteLoad() override</div><div class="ttdoc">Estimate the number of write operations pending.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00203">MemoryFactory.cpp:203</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ab677b7560cd27c159ad78e1412513d5f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab677b7560cd27c159ad78e1412513d5f">ripple::NodeStore::MemoryBackend::storeBatch</a></div><div class="ttdeci">void storeBatch(Batch const &amp;batch) override</div><div class="ttdoc">Store a group of objects.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00181">MemoryFactory.cpp:181</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ac0e6ebc55d43139af9a26254ed736609"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ac0e6ebc55d43139af9a26254ed736609">ripple::NodeStore::MemoryBackend::setDeletePath</a></div><div class="ttdeci">void setDeletePath() override</div><div class="ttdoc">Remove contents on disk upon destruction.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00209">MemoryFactory.cpp:209</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ad11105242d588bfd1c07bf7d3d729790"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad11105242d588bfd1c07bf7d3d729790">ripple::NodeStore::MemoryBackend::fdRequired</a></div><div class="ttdeci">int fdRequired() const override</div><div class="ttdoc">Returns the number of file descriptors the backend expects to need.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00214">MemoryFactory.cpp:214</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ad1c41ea346dc8b8202fd05f67349735c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad1c41ea346dc8b8202fd05f67349735c">ripple::NodeStore::MemoryBackend::fetch</a></div><div class="ttdeci">Status fetch(void const *key, std::shared_ptr&lt; NodeObject &gt; *pObject) override</div><div class="ttdoc">Fetch a single object.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00135">MemoryFactory.cpp:135</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ada78f1edc055747acbcd9b0da846d743"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ada78f1edc055747acbcd9b0da846d743">ripple::NodeStore::MemoryBackend::isOpen</a></div><div class="ttdeci">bool isOpen() override</div><div class="ttdoc">Returns true is the database is open.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00121">MemoryFactory.cpp:121</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_adec6e97b302a511fc1c84e424f3da022"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#adec6e97b302a511fc1c84e424f3da022">ripple::NodeStore::MemoryBackend::journal_</a></div><div class="ttdeci">beast::Journal const journal_</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00088">MemoryFactory.cpp:88</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_af8168c72040c7f20f427b44f9794944f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">ripple::NodeStore::MemoryBackend::db_</a></div><div class="ttdeci">MemoryDB * db_</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00089">MemoryFactory.cpp:89</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html">ripple::NodeStore::MemoryFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00044">MemoryFactory.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a1b06b63f8f1bea3b8eb44d50de48da84"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84">ripple::NodeStore::MemoryFactory::getName</a></div><div class="ttdeci">std::string getName() const override</div><div class="ttdoc">Retrieve the name of this factory.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00233">MemoryFactory.cpp:233</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a257415e5b9a5d5ce389c27c1af732247"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a257415e5b9a5d5ce389c27c1af732247">ripple::NodeStore::MemoryFactory::map_</a></div><div class="ttdeci">std::map&lt; std::string, MemoryDB, boost::beast::iless &gt; map_</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00048">MemoryFactory.cpp:48</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a499570139059a31fc8e1d62ad1e1869f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a499570139059a31fc8e1d62ad1e1869f">ripple::NodeStore::MemoryFactory::MemoryFactory</a></div><div class="ttdeci">MemoryFactory()</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00222">MemoryFactory.cpp:222</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a6d3c6f7cf8d453e1a2457f75074e40e9"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a6d3c6f7cf8d453e1a2457f75074e40e9">ripple::NodeStore::MemoryFactory::~MemoryFactory</a></div><div class="ttdeci">~MemoryFactory() override</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00227">MemoryFactory.cpp:227</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a778cb89cf449fad1a11d81133377c68b"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b">ripple::NodeStore::MemoryFactory::createInstance</a></div><div class="ttdeci">std::unique_ptr&lt; Backend &gt; createInstance(size_t keyBytes, Section const &amp;keyValues, std::size_t burstSize, Scheduler &amp;scheduler, beast::Journal journal) override</div><div class="ttdoc">Create an instance of this factory's backend.</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00239">MemoryFactory.cpp:239</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a939d7f0ddbe9bf2919bf7d5aecf65d54"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54">ripple::NodeStore::MemoryFactory::open</a></div><div class="ttdeci">MemoryDB &amp; open(std::string const &amp;path)</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00066">MemoryFactory.cpp:66</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_aed56d3246c20509191dcddb12b5ceb00"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#aed56d3246c20509191dcddb12b5ceb00">ripple::NodeStore::MemoryFactory::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00047">MemoryFactory.cpp:47</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Scheduler_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Scheduler.html">ripple::NodeStore::Scheduler</a></div><div class="ttdoc">Scheduling for asynchronous backend activity.</div><div class="ttdef"><b>Definition:</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00061">xrpld/nodestore/Scheduler.h:62</a></div></div>
<div class="ttc" id="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00044">BasicConfig.h:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html">ripple::NodeStore::MemoryBackend</a></div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00082">MemoryFactory.cpp:83</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a0a629815bc2dfa046866f0b28dea0887"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a0a629815bc2dfa046866f0b28dea0887">ripple::NodeStore::MemoryBackend::close</a></div><div class="ttdeci">void close() override</div><div class="ttdoc">Close the backend.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00127">MemoryFactory.cpp:127</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a40130939ef641571abf616a970d63957"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a40130939ef641571abf616a970d63957">ripple::NodeStore::MemoryBackend::store</a></div><div class="ttdeci">void store(std::shared_ptr&lt; NodeObject &gt; const &amp;object) override</div><div class="ttdoc">Store a single object.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00172">MemoryFactory.cpp:172</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a4e5920f4c51902aef93021277aa8ab37"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a4e5920f4c51902aef93021277aa8ab37">ripple::NodeStore::MemoryBackend::open</a></div><div class="ttdeci">void open(bool createIfMissing) override</div><div class="ttdoc">Open the backend.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00115">MemoryFactory.cpp:115</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a68db5737a6a61f08b0057c6feda9a60e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a68db5737a6a61f08b0057c6feda9a60e">ripple::NodeStore::MemoryBackend::name_</a></div><div class="ttdeci">std::string name_</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00087">MemoryFactory.cpp:87</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a6c8bde126310dfbe7837ebdcc43b3bd2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a6c8bde126310dfbe7837ebdcc43b3bd2">ripple::NodeStore::MemoryBackend::getName</a></div><div class="ttdeci">std::string getName() override</div><div class="ttdoc">Get the human-readable name of this backend.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00109">MemoryFactory.cpp:109</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a7a01b5df53b3ca0487785188f98b4320"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a01b5df53b3ca0487785188f98b4320">ripple::NodeStore::MemoryBackend::sync</a></div><div class="ttdeci">void sync() override</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00188">MemoryFactory.cpp:188</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a7a3395d78b5b2cf470059c43e0d8817a"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a7a3395d78b5b2cf470059c43e0d8817a">ripple::NodeStore::MemoryBackend::~MemoryBackend</a></div><div class="ttdeci">~MemoryBackend() override</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00103">MemoryFactory.cpp:103</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_a914efe50059a9990c60e592a27bbad66"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#a914efe50059a9990c60e592a27bbad66">ripple::NodeStore::MemoryBackend::fetchBatch</a></div><div class="ttdeci">std::pair&lt; std::vector&lt; std::shared_ptr&lt; NodeObject &gt; &gt;, Status &gt; fetchBatch(std::vector&lt; uint256 const * &gt; const &amp;hashes) override</div><div class="ttdoc">Fetch a batch synchronously.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00154">MemoryFactory.cpp:154</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_aa0d4dfe4f3c07c9fcecbb9e4dc06138d"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa0d4dfe4f3c07c9fcecbb9e4dc06138d">ripple::NodeStore::MemoryBackend::MemoryBackend</a></div><div class="ttdeci">MemoryBackend(size_t keyBytes, Section const &amp;keyValues, beast::Journal journal)</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00092">MemoryFactory.cpp:92</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_aa6f448cbec37beaa817905fe441c511c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#aa6f448cbec37beaa817905fe441c511c">ripple::NodeStore::MemoryBackend::for_each</a></div><div class="ttdeci">void for_each(std::function&lt; void(std::shared_ptr&lt; NodeObject &gt;)&gt; f) override</div><div class="ttdoc">Visit every object in the database This is usually called during import.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00193">MemoryFactory.cpp:193</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ab56c3ec0fd054251bfe27125a9092973"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab56c3ec0fd054251bfe27125a9092973">ripple::NodeStore::MemoryBackend::getWriteLoad</a></div><div class="ttdeci">int getWriteLoad() override</div><div class="ttdoc">Estimate the number of write operations pending.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00203">MemoryFactory.cpp:203</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ab677b7560cd27c159ad78e1412513d5f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ab677b7560cd27c159ad78e1412513d5f">ripple::NodeStore::MemoryBackend::storeBatch</a></div><div class="ttdeci">void storeBatch(Batch const &amp;batch) override</div><div class="ttdoc">Store a group of objects.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00181">MemoryFactory.cpp:181</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ac0e6ebc55d43139af9a26254ed736609"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ac0e6ebc55d43139af9a26254ed736609">ripple::NodeStore::MemoryBackend::setDeletePath</a></div><div class="ttdeci">void setDeletePath() override</div><div class="ttdoc">Remove contents on disk upon destruction.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00209">MemoryFactory.cpp:209</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ad11105242d588bfd1c07bf7d3d729790"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad11105242d588bfd1c07bf7d3d729790">ripple::NodeStore::MemoryBackend::fdRequired</a></div><div class="ttdeci">int fdRequired() const override</div><div class="ttdoc">Returns the number of file descriptors the backend expects to need.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00214">MemoryFactory.cpp:214</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ad1c41ea346dc8b8202fd05f67349735c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ad1c41ea346dc8b8202fd05f67349735c">ripple::NodeStore::MemoryBackend::fetch</a></div><div class="ttdeci">Status fetch(void const *key, std::shared_ptr&lt; NodeObject &gt; *pObject) override</div><div class="ttdoc">Fetch a single object.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00135">MemoryFactory.cpp:135</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_ada78f1edc055747acbcd9b0da846d743"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#ada78f1edc055747acbcd9b0da846d743">ripple::NodeStore::MemoryBackend::isOpen</a></div><div class="ttdeci">bool isOpen() override</div><div class="ttdoc">Returns true is the database is open.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00121">MemoryFactory.cpp:121</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_adec6e97b302a511fc1c84e424f3da022"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#adec6e97b302a511fc1c84e424f3da022">ripple::NodeStore::MemoryBackend::journal_</a></div><div class="ttdeci">beast::Journal const journal_</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00088">MemoryFactory.cpp:88</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryBackend_html_af8168c72040c7f20f427b44f9794944f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryBackend.html#af8168c72040c7f20f427b44f9794944f">ripple::NodeStore::MemoryBackend::db_</a></div><div class="ttdeci">MemoryDB * db_</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00089">MemoryFactory.cpp:89</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html">ripple::NodeStore::MemoryFactory</a></div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00044">MemoryFactory.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a1b06b63f8f1bea3b8eb44d50de48da84"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84">ripple::NodeStore::MemoryFactory::getName</a></div><div class="ttdeci">std::string getName() const override</div><div class="ttdoc">Retrieve the name of this factory.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00233">MemoryFactory.cpp:233</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a257415e5b9a5d5ce389c27c1af732247"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a257415e5b9a5d5ce389c27c1af732247">ripple::NodeStore::MemoryFactory::map_</a></div><div class="ttdeci">std::map&lt; std::string, MemoryDB, boost::beast::iless &gt; map_</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00048">MemoryFactory.cpp:48</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a499570139059a31fc8e1d62ad1e1869f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a499570139059a31fc8e1d62ad1e1869f">ripple::NodeStore::MemoryFactory::MemoryFactory</a></div><div class="ttdeci">MemoryFactory()</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00222">MemoryFactory.cpp:222</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a6d3c6f7cf8d453e1a2457f75074e40e9"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a6d3c6f7cf8d453e1a2457f75074e40e9">ripple::NodeStore::MemoryFactory::~MemoryFactory</a></div><div class="ttdeci">~MemoryFactory() override</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00227">MemoryFactory.cpp:227</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a778cb89cf449fad1a11d81133377c68b"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b">ripple::NodeStore::MemoryFactory::createInstance</a></div><div class="ttdeci">std::unique_ptr&lt; Backend &gt; createInstance(size_t keyBytes, Section const &amp;keyValues, std::size_t burstSize, Scheduler &amp;scheduler, beast::Journal journal) override</div><div class="ttdoc">Create an instance of this factory's backend.</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00239">MemoryFactory.cpp:239</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_a939d7f0ddbe9bf2919bf7d5aecf65d54"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54">ripple::NodeStore::MemoryFactory::open</a></div><div class="ttdeci">MemoryDB &amp; open(std::string const &amp;path)</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00066">MemoryFactory.cpp:66</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1MemoryFactory_html_aed56d3246c20509191dcddb12b5ceb00"><div class="ttname"><a href="classripple_1_1NodeStore_1_1MemoryFactory.html#aed56d3246c20509191dcddb12b5ceb00">ripple::NodeStore::MemoryFactory::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00047">MemoryFactory.cpp:47</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Scheduler_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Scheduler.html">ripple::NodeStore::Scheduler</a></div><div class="ttdoc">Scheduling for asynchronous backend activity.</div><div class="ttdef"><b>Definition</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00061">xrpld/nodestore/Scheduler.h:62</a></div></div>
<div class="ttc" id="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00044">BasicConfig.h:45</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_a4e9de7a706374a3d016b89c9ecb4f80d"><div class="ttname"><a href="classripple_1_1base__uint.html#a4e9de7a706374a3d016b89c9ecb4f80d">ripple::base_uint&lt; 256 &gt;::fromVoid</a></div><div class="ttdeci">static base_uint fromVoid(void const *data)</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00319">base_uint.h:319</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html_a4e9de7a706374a3d016b89c9ecb4f80d"><div class="ttname"><a href="classripple_1_1base__uint.html#a4e9de7a706374a3d016b89c9ecb4f80d">ripple::base_uint&lt; 256 &gt;::fromVoid</a></div><div class="ttdeci">static base_uint fromVoid(void const *data)</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00319">base_uint.h:319</a></div></div>
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string/empty.html">std::string::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="ais_same_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/is_same.html">std::is_same_v</a></div><div class="ttdeci">T is_same_v</div></div>
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div></div>
<div class="ttc" id="amake_tuple_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/tuple/make_tuple.html">std::make_tuple</a></div><div class="ttdeci">T make_tuple(T... args)</div></div>
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/map.html">map</a></div></div>
<div class="ttc" id="amemory_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/memory.html">memory</a></div></div>
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_a15e3325559e2eaa7e32aa277e998a460"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#a15e3325559e2eaa7e32aa277e998a460">ripple::NodeStore::memoryFactory</a></div><div class="ttdeci">static MemoryFactory memoryFactory</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00078">MemoryFactory.cpp:78</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00044">src/xrpld/nodestore/Types.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ripple::NodeStore::ok</a></div><div class="ttdeci">@ ok</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00045">src/xrpld/nodestore/Types.h:45</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">ripple::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00046">src/xrpld/nodestore/Types.h:46</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_a15e3325559e2eaa7e32aa277e998a460"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#a15e3325559e2eaa7e32aa277e998a460">ripple::NodeStore::memoryFactory</a></div><div class="ttdeci">static MemoryFactory memoryFactory</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00078">MemoryFactory.cpp:78</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00044">src/xrpld/nodestore/Types.h:44</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ripple::NodeStore::ok</a></div><div class="ttdeci">@ ok</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00045">src/xrpld/nodestore/Types.h:45</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">ripple::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00046">src/xrpld/nodestore/Types.h:46</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746"><div class="ttname"><a href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">ripple::SizedItem::burstSize</a></div><div class="ttdeci">@ burstSize</div></div>
<div class="ttc" id="anamespaceripple_html_ac341e8b4d6615fda7866d3c1c0014e44"><div class="ttname"><a href="namespaceripple.html#ac341e8b4d6615fda7866d3c1c0014e44">ripple::get</a></div><div class="ttdeci">T get(Section const &amp;section, std::string const &amp;name, T const &amp;defaultValue=T{})</div><div class="ttdoc">Retrieve a key/value pair from a section.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00355">BasicConfig.h:355</a></div></div>
<div class="ttc" id="anamespaceripple_html_ac341e8b4d6615fda7866d3c1c0014e44"><div class="ttname"><a href="namespaceripple.html#ac341e8b4d6615fda7866d3c1c0014e44">ripple::get</a></div><div class="ttdeci">T get(Section const &amp;section, std::string const &amp;name, T const &amp;defaultValue=T{})</div><div class="ttdoc">Retrieve a key/value pair from a section.</div><div class="ttdef"><b>Definition</b> <a href="BasicConfig_8h_source.html#l00355">BasicConfig.h:355</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11"><div class="ttname"><a href="namespaceripple.html#ad5143ceada01141772ae4aab984f94bdad265aed699f7409ac0ec6fe07ee9cb11">ripple::HashPrefix::batch</a></div><div class="ttdeci">@ batch</div><div class="ttdoc">Batch.</div></div>
<div class="ttc" id="apair_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/pair.html">std::pair</a></div></div>
<div class="ttc" id="apiecewise_construct_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/piecewise_construct.html">std::piecewise_construct</a></div><div class="ttdeci">T piecewise_construct</div></div>
@@ -387,17 +439,17 @@ $(function() {
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div></div>
<div class="ttc" id="asize_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/size.html">std::vector::size</a></div><div class="ttdeci">T size(T... args)</div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html">ripple::NodeStore::MemoryDB</a></div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00035">MemoryFactory.cpp:36</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html">ripple::NodeStore::MemoryDB</a></div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00035">MemoryFactory.cpp:36</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_a0f567e06098f1789ecc0aea69e8a2e6d"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#a0f567e06098f1789ecc0aea69e8a2e6d">ripple::NodeStore::MemoryDB::MemoryDB</a></div><div class="ttdeci">MemoryDB()=default</div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_a2ac1944192a27f05e81b802473b85270"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#a2ac1944192a27f05e81b802473b85270">ripple::NodeStore::MemoryDB::open</a></div><div class="ttdeci">bool open</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00040">MemoryFactory.cpp:40</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_ad7a4b73a4dc92750a888c66ce66fe944"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944">ripple::NodeStore::MemoryDB::table</a></div><div class="ttdeci">std::map&lt; uint256 const, std::shared_ptr&lt; NodeObject &gt; &gt; table</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00041">MemoryFactory.cpp:41</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_adc361d2c245d8306f53fae470124b710"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#adc361d2c245d8306f53fae470124b710">ripple::NodeStore::MemoryDB::mutex</a></div><div class="ttdeci">std::mutex mutex</div><div class="ttdef"><b>Definition:</b> <a href="MemoryFactory_8cpp_source.html#l00039">MemoryFactory.cpp:39</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_a2ac1944192a27f05e81b802473b85270"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#a2ac1944192a27f05e81b802473b85270">ripple::NodeStore::MemoryDB::open</a></div><div class="ttdeci">bool open</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00040">MemoryFactory.cpp:40</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_ad7a4b73a4dc92750a888c66ce66fe944"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#ad7a4b73a4dc92750a888c66ce66fe944">ripple::NodeStore::MemoryDB::table</a></div><div class="ttdeci">std::map&lt; uint256 const, std::shared_ptr&lt; NodeObject &gt; &gt; table</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00041">MemoryFactory.cpp:41</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1MemoryDB_html_adc361d2c245d8306f53fae470124b710"><div class="ttname"><a href="structripple_1_1NodeStore_1_1MemoryDB.html#adc361d2c245d8306f53fae470124b710">ripple::NodeStore::MemoryDB::mutex</a></div><div class="ttdeci">std::mutex mutex</div><div class="ttdef"><b>Definition</b> <a href="MemoryFactory_8cpp_source.html#l00039">MemoryFactory.cpp:39</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>