mirror of
https://github.com/XRPLF/rippled.git
synced 2026-02-02 21:15:25 +00:00
deploy: 1eb0fdac65
This commit is contained in:
@@ -83,27 +83,27 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="contents">
|
||||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#include <xrpl/nodestore/detail/DatabaseNodeImp.h></span></div>
|
||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span> </div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacexrpl.html">xrpl</a> {</div>
|
||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="keyword">namespace </span>NodeStore {</div>
|
||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
|
||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00007" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a5f23a54188aa2329d979c937d932dbaf"> 7</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a5f23a54188aa2329d979c937d932dbaf">DatabaseNodeImp::store</a>(</div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> <a class="code hl_enumeration" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">NodeObjectType</a> type,</div>
|
||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a2ded7ba62133b8e6299f47da535b28c9"> 7</a></span><a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a2ded7ba62133b8e6299f47da535b28c9">DatabaseNodeImp::store</a>(</div>
|
||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> <a class="code hl_enumeration" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebf">NodeObjectType</a> type,</div>
|
||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a>&& data,</div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> <a class="code hl_class" href="classxrpl_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>)</div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span>{</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Database.html#a090e39b8c6733b0dc4553f9e8e705605">storeStats</a>(1, data.size());</div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1Database.html#a22a4de137cbecd91adac5bc6d98cc084">storeStats</a>(1, data.size());</div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">auto</span> obj = <a class="code hl_function" href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">NodeObject::createObject</a>(type, std::move(data), hash);</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a2edc67988dfa89034505c059fbe41503">backend_</a>->store(obj);</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">auto</span> obj = <a class="code hl_function" href="classxrpl_1_1NodeObject.html#a728cb3a174442ab94254cdb5ff1e8fe1">NodeObject::createObject</a>(type, std::move(data), hash);</div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a440bd4d937a60ef3cde6838c20e8922d">backend_</a>->store(obj);</div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> {</div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="comment">// After the store, replace a negative cache entry if there is one</span></div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->canonicalize(</div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->canonicalize(</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> hash, obj, [](<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> <span class="keyword">const</span>& n) {</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordflow">return</span> n->getType() == <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>;</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordflow">return</span> n->getType() == <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>;</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> });</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> }</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>}</div>
|
||||
@@ -111,88 +111,88 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00028" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#aa7218a9ee7e8b99949ef33f0bf3fb84f"> 28</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#aa7218a9ee7e8b99949ef33f0bf3fb84f">DatabaseNodeImp::asyncFetch</a>(</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a861e7c0b11d88e30c00e7a9ff31be52b"> 28</a></span><a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a861e7c0b11d88e30c00e7a9ff31be52b">DatabaseNodeImp::asyncFetch</a>(</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <a class="code hl_class" href="classxrpl_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ledgerSeq,</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a><<span class="keywordtype">void</span>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> <span class="keyword">const</span>&)>&& callback)</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>{</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> {</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> obj = <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->fetch(hash);</div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> obj = <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->fetch(hash);</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <span class="keywordflow">if</span> (obj)</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> {</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> callback(obj->getType() == <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a> ? <span class="keyword">nullptr</span> : obj);</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> callback(obj->getType() == <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a> ? <span class="keyword">nullptr</span> : obj);</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordflow">return</span>;</div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> }</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> }</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Database.html#a0d21a918d521d82947868d21e1aafadb">Database::asyncFetch</a>(hash, ledgerSeq, std::move(callback));</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1Database.html#a7104f8edd1132f71fcc37a5627283b64">Database::asyncFetch</a>(hash, ledgerSeq, std::move(callback));</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keywordtype">void</span></div>
|
||||
<div class="foldopen" id="foldopen00046" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#af83b106a8e0f80ef92cc3140e1112ec0"> 46</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#af83b106a8e0f80ef92cc3140e1112ec0">DatabaseNodeImp::sweep</a>()</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a73b4432bee61f0c307ef25f49a0d493c"> 46</a></span><a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a73b4432bee61f0c307ef25f49a0d493c">DatabaseNodeImp::sweep</a>()</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span>{</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->sweep();</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->sweep();</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> </div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a></div>
|
||||
<div class="foldopen" id="foldopen00053" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#adbf6df05e8f7c4a2e51028ef7cfc03b5"> 53</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#adbf6df05e8f7c4a2e51028ef7cfc03b5">DatabaseNodeImp::fetchNodeObject</a>(</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_class" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a5951b12d2517884162e94002cc50cc6f"> 53</a></span><a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a5951b12d2517884162e94002cc50cc6f">DatabaseNodeImp::fetchNodeObject</a>(</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_class" href="classxrpl_1_1base__uint.html">uint256</a> <span class="keyword">const</span>& hash,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_struct" href="structripple_1_1NodeStore_1_1FetchReport.html">FetchReport</a>& fetchReport,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_struct" href="structxrpl_1_1NodeStore_1_1FetchReport.html">FetchReport</a>& fetchReport,</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keywordtype">bool</span> duplicate)</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span>{</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<NodeObject></a> nodeObject =</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a> ? <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->fetch(hash) : <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a> ? <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->fetch(hash) : <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> </div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordflow">if</span> (!nodeObject)</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> {</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">trace</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash << <span class="stringliteral">": record not "</span></div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> << (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a> ? <span class="stringliteral">"cached"</span> : <span class="stringliteral">"found"</span>);</div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">trace</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash << <span class="stringliteral">": record not "</span></div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> << (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a> ? <span class="stringliteral">"cached"</span> : <span class="stringliteral">"found"</span>);</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <a class="code hl_enumeration" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">Status</a> status;</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <a class="code hl_enumeration" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96b">Status</a> status;</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> </div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordflow">try</span></div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> {</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> status = <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a2edc67988dfa89034505c059fbe41503">backend_</a>->fetch(hash.<a class="code hl_function" href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">data</a>(), &nodeObject);</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> status = <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a440bd4d937a60ef3cde6838c20e8922d">backend_</a>->fetch(hash.<a class="code hl_function" href="classxrpl_1_1base__uint.html#abafa79f01042304ef1af73e625d4f515">data</a>(), &nodeObject);</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> }</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keywordflow">catch</span> (<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/exception.html">std::exception</a> <span class="keyword">const</span>& e)</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> {</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">fatal</a>())</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">fatal</a>())</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> << <span class="stringliteral">": Exception fetching from backend: "</span> << e.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/error/exception/what.html">what</a>();</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_function" href="namespaceripple.html#ad99788f1aca6ce31a1fe8365eee1bba3">Rethrow</a>();</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_function" href="namespacexrpl.html#addcb7706101a4cac409ab00b3052e86f">Rethrow</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> </div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">switch</span> (status)</div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca852178e08b8b1f2eb19fd271e63830ef">ok</a>:</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba4dd62c7740eda7a1c3cc0ec8f3c9d84e">ok</a>:</div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> {</div>
|
||||
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="keywordflow">if</span> (nodeObject)</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->canonicalize_replace_client(hash, nodeObject);</div>
|
||||
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->canonicalize_replace_client(hash, nodeObject);</div>
|
||||
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> {</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">auto</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a> =</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_function" href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">NodeObject::createObject</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>, {}, hash);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->canonicalize_replace_client(hash, <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>);</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">if</span> (<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>->getType() != <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> nodeObject = <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>;</div>
|
||||
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> <span class="keyword">auto</span> <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a> =</div>
|
||||
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <a class="code hl_function" href="classxrpl_1_1NodeObject.html#a728cb3a174442ab94254cdb5ff1e8fe1">NodeObject::createObject</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>, {}, hash);</div>
|
||||
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->canonicalize_replace_client(hash, <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>);</div>
|
||||
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordflow">if</span> (<a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>->getType() != <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> nodeObject = <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>;</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> }</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> }</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>:</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>:</div>
|
||||
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca915a2fc67fa0633b4995f8c1e4d54bdf">dataCorrupt</a>:</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">fatal</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keywordflow">case</span> <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba878c28247feef60bd282c5632ebba888">dataCorrupt</a>:</div>
|
||||
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">fatal</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> << <span class="stringliteral">": nodestore data is corrupted"</span>;</div>
|
||||
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keywordflow">break</span>;</div>
|
||||
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> <span class="keywordflow">default</span>:</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">warn</a>())</div>
|
||||
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">warn</a>())</div>
|
||||
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> << <span class="stringliteral">": backend returns unknown result "</span> << status;</div>
|
||||
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span> <span class="keywordflow">break</span>;</div>
|
||||
@@ -200,14 +200,14 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> }</div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> {</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">trace</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">trace</a>()) << <span class="stringliteral">"fetchNodeObject "</span> << hash</div>
|
||||
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> << <span class="stringliteral">": record found in cache"</span>;</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">if</span> (nodeObject->getType() == <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"> 115</span> <span class="keywordflow">if</span> (nodeObject->getType() == <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> nodeObject.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr/reset.html">reset</a>();</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> }</div>
|
||||
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> </div>
|
||||
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"> 119</span> <span class="keywordflow">if</span> (nodeObject)</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> fetchReport.<a class="code hl_variable" href="structripple_1_1NodeStore_1_1FetchReport.html#a7ab35eb8a30af6dbc6ee916ccf60474d">wasFound</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"> 120</span> fetchReport.<a class="code hl_variable" href="structxrpl_1_1NodeStore_1_1FetchReport.html#acbb721c85531628e86f3bd96455f17b3">wasFound</a> = <span class="keyword">true</span>;</div>
|
||||
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
|
||||
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keywordflow">return</span> nodeObject;</div>
|
||||
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span>}</div>
|
||||
@@ -215,7 +215,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span> </div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span><a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::shared_ptr<NodeObject></a>></div>
|
||||
<div class="foldopen" id="foldopen00126" data-start="{" data-end="}">
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a547aab3d055f51bfbf8c6ebfc39cc014"> 126</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a547aab3d055f51bfbf8c6ebfc39cc014">DatabaseNodeImp::fetchBatch</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a> <span class="keyword">const</span>& hashes)</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#aeda84be5ee3536f6736a2ba3dce4b882"> 126</a></span><a class="code hl_function" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#aeda84be5ee3536f6736a2ba3dce4b882">DatabaseNodeImp::fetchBatch</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<uint256></a> <span class="keyword">const</span>& hashes)</div>
|
||||
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span>{</div>
|
||||
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::shared_ptr<NodeObject></a>> results{hashes.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>()};</div>
|
||||
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> <span class="keyword">using namespace </span><a class="code hl_namespaceRef" href="http://en.cppreference.com/w/namespacestd_1_1chrono.html">std::chrono</a>;</div>
|
||||
@@ -228,7 +228,7 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> {</div>
|
||||
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> <span class="keyword">auto</span> <span class="keyword">const</span>& <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a> = hashes[i];</div>
|
||||
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="comment">// See if the object already exists in the cache</span></div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">auto</span> nObj = <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a> ? <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->fetch(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>) : <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"> 139</span> <span class="keyword">auto</span> nObj = <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a> ? <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->fetch(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>) : <span class="keyword">nullptr</span>;</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> ++fetches;</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span> <span class="keywordflow">if</span> (!nObj)</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> {</div>
|
||||
@@ -238,16 +238,16 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> }</div>
|
||||
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> {</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> results[i] = nObj->getType() == <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a> ? nullptr : nObj;</div>
|
||||
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> results[i] = nObj->getType() == <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a> ? nullptr : nObj;</div>
|
||||
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <span class="comment">// It was in the cache.</span></div>
|
||||
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> ++hits;</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> }</div>
|
||||
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> </div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) << <span class="stringliteral">"fetchBatch - cache hits = "</span></div>
|
||||
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"> 155</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">debug</a>()) << <span class="stringliteral">"fetchBatch - cache hits = "</span></div>
|
||||
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> << (hashes.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() - cacheMisses.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>())</div>
|
||||
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"> 157</span> << <span class="stringliteral">" - cache misses = "</span> << cacheMisses.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>();</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">auto</span> dbResults = <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a2edc67988dfa89034505c059fbe41503">backend_</a>->fetchBatch(cacheMisses).first;</div>
|
||||
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <span class="keyword">auto</span> dbResults = <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a440bd4d937a60ef3cde6838c20e8922d">backend_</a>->fetchBatch(cacheMisses).first;</div>
|
||||
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
|
||||
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"> 160</span> <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 0; i < dbResults.size(); ++i)</div>
|
||||
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"> 161</span> {</div>
|
||||
@@ -258,20 +258,20 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"> 166</span> <span class="keywordflow">if</span> (nObj)</div>
|
||||
<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="comment">// Ensure all threads get the same object</span></div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->canonicalize_replace_client(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>, nObj);</div>
|
||||
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"> 169</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"> 170</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->canonicalize_replace_client(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>, nObj);</div>
|
||||
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"> 171</span> }</div>
|
||||
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"> 172</span> <span class="keywordflow">else</span></div>
|
||||
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"> 173</span> {</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> JLOG(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">error</a>())</div>
|
||||
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"> 174</span> JLOG(<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">j_</a>.<a class="code hl_function" href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">error</a>())</div>
|
||||
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span> << <span class="stringliteral">"fetchBatch - "</span></div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> << <span class="stringliteral">"record not found in db or cache. hash = "</span> << <a class="code hl_function" href="namespaceripple.html#a86e358ce3f06ff049af13c2342791cf8">strHex</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>);</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>)</div>
|
||||
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span> << <span class="stringliteral">"record not found in db or cache. hash = "</span> << <a class="code hl_function" href="namespacexrpl.html#a36b95700599f590017b5912e220baf5b">strHex</a>(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>);</div>
|
||||
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span> <span class="keywordflow">if</span> (<a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>)</div>
|
||||
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"> 178</span> {</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">auto</span> <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a> = <a class="code hl_function" href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">NodeObject::createObject</a>(<a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>, {}, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>);</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">cache_</a>->canonicalize_replace_client(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>, <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>);</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordflow">if</span> (<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>->getType() != <a class="code hl_enumvalue" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> nObj = std::move(<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">notFound</a>);</div>
|
||||
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"> 179</span> <span class="keyword">auto</span> <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a> = <a class="code hl_function" href="classxrpl_1_1NodeObject.html#a728cb3a174442ab94254cdb5ff1e8fe1">NodeObject::createObject</a>(<a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>, {}, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>);</div>
|
||||
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"> 180</span> <a class="code hl_variable" href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">cache_</a>->canonicalize_replace_client(<a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/utility/hash.html">hash</a>, <a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>);</div>
|
||||
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"> 181</span> <span class="keywordflow">if</span> (<a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>->getType() != <a class="code hl_enumvalue" href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">hotDUMMY</a>)</div>
|
||||
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"> 182</span> nObj = std::move(<a class="code hl_enumvalue" href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">notFound</a>);</div>
|
||||
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"> 183</span> }</div>
|
||||
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"> 184</span> }</div>
|
||||
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"> 185</span> results[index] = std::move(nObj);</div>
|
||||
@@ -281,52 +281,52 @@ $(document).ready(function() { init_codefold(0); });
|
||||
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span> std::chrono::duration_cast<std::chrono::microseconds>(</div>
|
||||
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span> steady_clock::now() - before)</div>
|
||||
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> .count();</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Database.html#abdcb3e7fdaeae1252f850c0e2a4646c2">updateFetchMetrics</a>(fetches, hits, fetchDurationUs);</div>
|
||||
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <a class="code hl_function" href="classxrpl_1_1NodeStore_1_1Database.html#a38e76177b3928998a917caa8890c817b">updateFetchMetrics</a>(fetches, hits, fetchDurationUs);</div>
|
||||
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> <span class="keywordflow">return</span> results;</div>
|
||||
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span>}</div>
|
||||
</div>
|
||||
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
|
||||
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span>} <span class="comment">// namespace NodeStore</span></div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span>} <span class="comment">// namespace xrpl</span></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a3dfb8e2e3eecccdb5cf78ff21bca069c"><div class="ttname"><a href="classbeast_1_1Journal.html#a3dfb8e2e3eecccdb5cf78ff21bca069c">beast::Journal::fatal</a></div><div class="ttdeci">Stream fatal() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00333">Journal.h:333</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a49b0713e65bb8e2c51b76fbf16252afe"><div class="ttname"><a href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">beast::Journal::error</a></div><div class="ttdeci">Stream error() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00327">Journal.h:327</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_a556228cb60bcf405c225d3f64b7b01ae"><div class="ttname"><a href="classbeast_1_1Journal.html#a556228cb60bcf405c225d3f64b7b01ae">beast::Journal::debug</a></div><div class="ttdeci">Stream debug() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00309">Journal.h:309</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_abbe082bd27ca0f1d1365af2824e4f85b"><div class="ttname"><a href="classbeast_1_1Journal.html#abbe082bd27ca0f1d1365af2824e4f85b">beast::Journal::trace</a></div><div class="ttdeci">Stream trace() const</div><div class="ttdoc">Severity stream access functions.</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00303">Journal.h:303</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html_ad8fefe3e8ad583e1ed1bf02094ac3d8f"><div class="ttname"><a href="classbeast_1_1Journal.html#ad8fefe3e8ad583e1ed1bf02094ac3d8f">beast::Journal::warn</a></div><div class="ttdeci">Stream warn() const</div><div class="ttdef"><b>Definition</b> <a href="Journal_8h_source.html#l00321">Journal.h:321</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeObject_html_a841bb9bba547efbd89b240fa9c1cf146"><div class="ttname"><a href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">ripple::NodeObject::createObject</a></div><div class="ttdeci">static std::shared_ptr< NodeObject > createObject(NodeObjectType type, Blob &&data, uint256 const &hash)</div><div class="ttdoc">Create an object from fields.</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8cpp_source.html#l00019">NodeObject.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_a2edc67988dfa89034505c059fbe41503"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a2edc67988dfa89034505c059fbe41503">ripple::NodeStore::DatabaseNodeImp::backend_</a></div><div class="ttdeci">std::shared_ptr< Backend > backend_</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8h_source.html#l00124">DatabaseNodeImp.h:124</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_a4128fdcffd8987e9d08df0d76dc4078e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a4128fdcffd8987e9d08df0d76dc4078e">ripple::NodeStore::DatabaseNodeImp::cache_</a></div><div class="ttdeci">std::shared_ptr< TaggedCache< uint256, NodeObject > > cache_</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8h_source.html#l00122">DatabaseNodeImp.h:122</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_a547aab3d055f51bfbf8c6ebfc39cc014"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a547aab3d055f51bfbf8c6ebfc39cc014">ripple::NodeStore::DatabaseNodeImp::fetchBatch</a></div><div class="ttdeci">std::vector< std::shared_ptr< NodeObject > > fetchBatch(std::vector< uint256 > const &hashes)</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00126">DatabaseNodeImp.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_a5f23a54188aa2329d979c937d932dbaf"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a5f23a54188aa2329d979c937d932dbaf">ripple::NodeStore::DatabaseNodeImp::store</a></div><div class="ttdeci">void store(NodeObjectType type, Blob &&data, uint256 const &hash, std::uint32_t) override</div><div class="ttdoc">Store the object.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00007">DatabaseNodeImp.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_aa7218a9ee7e8b99949ef33f0bf3fb84f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#aa7218a9ee7e8b99949ef33f0bf3fb84f">ripple::NodeStore::DatabaseNodeImp::asyncFetch</a></div><div class="ttdeci">void asyncFetch(uint256 const &hash, std::uint32_t ledgerSeq, std::function< void(std::shared_ptr< NodeObject > const &)> &&callback) override</div><div class="ttdoc">Fetch an object without waiting.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00028">DatabaseNodeImp.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_adbf6df05e8f7c4a2e51028ef7cfc03b5"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#adbf6df05e8f7c4a2e51028ef7cfc03b5">ripple::NodeStore::DatabaseNodeImp::fetchNodeObject</a></div><div class="ttdeci">std::shared_ptr< NodeObject > fetchNodeObject(uint256 const &hash, std::uint32_t, FetchReport &fetchReport, bool duplicate) override</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00053">DatabaseNodeImp.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseNodeImp_html_af83b106a8e0f80ef92cc3140e1112ec0"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#af83b106a8e0f80ef92cc3140e1112ec0">ripple::NodeStore::DatabaseNodeImp::sweep</a></div><div class="ttdeci">void sweep() override</div><div class="ttdoc">Remove expired entries from the positive and negative caches.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00046">DatabaseNodeImp.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a090e39b8c6733b0dc4553f9e8e705605"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a090e39b8c6733b0dc4553f9e8e705605">ripple::NodeStore::Database::storeStats</a></div><div class="ttdeci">void storeStats(std::uint64_t count, std::uint64_t sz)</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00229">Database.h:229</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a0d21a918d521d82947868d21e1aafadb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a0d21a918d521d82947868d21e1aafadb">ripple::NodeStore::Database::asyncFetch</a></div><div class="ttdeci">virtual void asyncFetch(uint256 const &hash, std::uint32_t ledgerSeq, std::function< void(std::shared_ptr< NodeObject > const &)> &&callback)</div><div class="ttdoc">Fetch an object without waiting.</div><div class="ttdef"><b>Definition</b> <a href="Database_8cpp_source.html#l00165">Database.cpp:165</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a91e5dd4e1a48a23cb5f698c0794a044e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a91e5dd4e1a48a23cb5f698c0794a044e">ripple::NodeStore::Database::j_</a></div><div class="ttdeci">beast::Journal const j_</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00208">Database.h:208</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_abdcb3e7fdaeae1252f850c0e2a4646c2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#abdcb3e7fdaeae1252f850c0e2a4646c2">ripple::NodeStore::Database::updateFetchMetrics</a></div><div class="ttdeci">void updateFetchMetrics(uint64_t fetches, uint64_t hits, uint64_t duration)</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00243">Database.h:243</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< 256 ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html_a5342507fe2fb5ac55d578e7e98863f70"><div class="ttname"><a href="classripple_1_1base__uint.html#a5342507fe2fb5ac55d578e7e98863f70">ripple::base_uint::data</a></div><div class="ttdeci">pointer data()</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00106">base_uint.h:106</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeObject_html_a728cb3a174442ab94254cdb5ff1e8fe1"><div class="ttname"><a href="classxrpl_1_1NodeObject.html#a728cb3a174442ab94254cdb5ff1e8fe1">xrpl::NodeObject::createObject</a></div><div class="ttdeci">static std::shared_ptr< NodeObject > createObject(NodeObjectType type, Blob &&data, uint256 const &hash)</div><div class="ttdoc">Create an object from fields.</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8cpp_source.html#l00019">NodeObject.cpp:19</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a10c7ee0df834011d64f1442bf288900f"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a10c7ee0df834011d64f1442bf288900f">xrpl::NodeStore::DatabaseNodeImp::cache_</a></div><div class="ttdeci">std::shared_ptr< TaggedCache< uint256, NodeObject > > cache_</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8h_source.html#l00122">DatabaseNodeImp.h:122</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a2ded7ba62133b8e6299f47da535b28c9"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a2ded7ba62133b8e6299f47da535b28c9">xrpl::NodeStore::DatabaseNodeImp::store</a></div><div class="ttdeci">void store(NodeObjectType type, Blob &&data, uint256 const &hash, std::uint32_t) override</div><div class="ttdoc">Store the object.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00007">DatabaseNodeImp.cpp:7</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a440bd4d937a60ef3cde6838c20e8922d"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a440bd4d937a60ef3cde6838c20e8922d">xrpl::NodeStore::DatabaseNodeImp::backend_</a></div><div class="ttdeci">std::shared_ptr< Backend > backend_</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8h_source.html#l00124">DatabaseNodeImp.h:124</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a5951b12d2517884162e94002cc50cc6f"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a5951b12d2517884162e94002cc50cc6f">xrpl::NodeStore::DatabaseNodeImp::fetchNodeObject</a></div><div class="ttdeci">std::shared_ptr< NodeObject > fetchNodeObject(uint256 const &hash, std::uint32_t, FetchReport &fetchReport, bool duplicate) override</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00053">DatabaseNodeImp.cpp:53</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a73b4432bee61f0c307ef25f49a0d493c"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a73b4432bee61f0c307ef25f49a0d493c">xrpl::NodeStore::DatabaseNodeImp::sweep</a></div><div class="ttdeci">void sweep() override</div><div class="ttdoc">Remove expired entries from the positive and negative caches.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00046">DatabaseNodeImp.cpp:46</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_a861e7c0b11d88e30c00e7a9ff31be52b"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#a861e7c0b11d88e30c00e7a9ff31be52b">xrpl::NodeStore::DatabaseNodeImp::asyncFetch</a></div><div class="ttdeci">void asyncFetch(uint256 const &hash, std::uint32_t ledgerSeq, std::function< void(std::shared_ptr< NodeObject > const &)> &&callback) override</div><div class="ttdoc">Fetch an object without waiting.</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00028">DatabaseNodeImp.cpp:28</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1DatabaseNodeImp_html_aeda84be5ee3536f6736a2ba3dce4b882"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1DatabaseNodeImp.html#aeda84be5ee3536f6736a2ba3dce4b882">xrpl::NodeStore::DatabaseNodeImp::fetchBatch</a></div><div class="ttdeci">std::vector< std::shared_ptr< NodeObject > > fetchBatch(std::vector< uint256 > const &hashes)</div><div class="ttdef"><b>Definition</b> <a href="DatabaseNodeImp_8cpp_source.html#l00126">DatabaseNodeImp.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1Database_html_a22a4de137cbecd91adac5bc6d98cc084"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1Database.html#a22a4de137cbecd91adac5bc6d98cc084">xrpl::NodeStore::Database::storeStats</a></div><div class="ttdeci">void storeStats(std::uint64_t count, std::uint64_t sz)</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00229">Database.h:229</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1Database_html_a38e76177b3928998a917caa8890c817b"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1Database.html#a38e76177b3928998a917caa8890c817b">xrpl::NodeStore::Database::updateFetchMetrics</a></div><div class="ttdeci">void updateFetchMetrics(uint64_t fetches, uint64_t hits, uint64_t duration)</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00243">Database.h:243</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1Database_html_a51a71f2e714bad4a321a4567cec1c785"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1Database.html#a51a71f2e714bad4a321a4567cec1c785">xrpl::NodeStore::Database::j_</a></div><div class="ttdeci">beast::Journal const j_</div><div class="ttdef"><b>Definition</b> <a href="Database_8h_source.html#l00208">Database.h:208</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1NodeStore_1_1Database_html_a7104f8edd1132f71fcc37a5627283b64"><div class="ttname"><a href="classxrpl_1_1NodeStore_1_1Database.html#a7104f8edd1132f71fcc37a5627283b64">xrpl::NodeStore::Database::asyncFetch</a></div><div class="ttdeci">virtual void asyncFetch(uint256 const &hash, std::uint32_t ledgerSeq, std::function< void(std::shared_ptr< NodeObject > const &)> &&callback)</div><div class="ttdoc">Fetch an object without waiting.</div><div class="ttdef"><b>Definition</b> <a href="Database_8cpp_source.html#l00165">Database.cpp:165</a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1base__uint_html"><div class="ttname"><a href="classxrpl_1_1base__uint.html">xrpl::base_uint< 256 ></a></div></div>
|
||||
<div class="ttc" id="aclassxrpl_1_1base__uint_html_abafa79f01042304ef1af73e625d4f515"><div class="ttname"><a href="classxrpl_1_1base__uint.html#abafa79f01042304ef1af73e625d4f515">xrpl::base_uint::data</a></div><div class="ttdeci">pointer data()</div><div class="ttdef"><b>Definition</b> <a href="base__uint_8h_source.html#l00106">base_uint.h:106</a></div></div>
|
||||
<div class="ttc" id="aexception_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/exception.html">std::exception</a></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="ahash_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/hash.html">std::hash</a></div></div>
|
||||
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</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="nodestore_2Types_8h_source.html#l00025">nodestore/Types.h:25</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="nodestore_2Types_8h_source.html#l00026">nodestore/Types.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350ca915a2fc67fa0633b4995f8c1e4d54bdf"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350ca915a2fc67fa0633b4995f8c1e4d54bdf">ripple::NodeStore::dataCorrupt</a></div><div class="ttdeci">@ dataCorrupt</div><div class="ttdef"><b>Definition</b> <a href="nodestore_2Types_8h_source.html#l00028">nodestore/Types.h:28</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="nodestore_2Types_8h_source.html#l00027">nodestore/Types.h:27</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#l00006">algorithm.h:6</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">ripple::NodeObjectType</a></div><div class="ttdeci">NodeObjectType</div><div class="ttdoc">The types of node objects.</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8h_source.html#l00013">NodeObject.h:13</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aeb18fdb4f02b0dd4e85b203a75477bce">ripple::hotDUMMY</a></div><div class="ttdeci">@ hotDUMMY</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8h_source.html#l00019">NodeObject.h:18</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a86e358ce3f06ff049af13c2342791cf8"><div class="ttname"><a href="namespaceripple.html#a86e358ce3f06ff049af13c2342791cf8">ripple::strHex</a></div><div class="ttdeci">std::string strHex(FwdIt begin, FwdIt end)</div><div class="ttdef"><b>Definition</b> <a href="strHex_8h_source.html#l00011">strHex.h:11</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_ad99788f1aca6ce31a1fe8365eee1bba3"><div class="ttname"><a href="namespaceripple.html#ad99788f1aca6ce31a1fe8365eee1bba3">ripple::Rethrow</a></div><div class="ttdeci">void Rethrow()</div><div class="ttdoc">Rethrow the exception currently being handled.</div><div class="ttdef"><b>Definition</b> <a href="contract_8h_source.html#l00029">contract.h:29</a></div></div>
|
||||
<div class="ttc" id="anamespacestd_1_1chrono_html"><div class="ttname"><a href="http://en.cppreference.com/w/namespacestd_1_1chrono.html">std::chrono</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_1_1NodeStore_html_a4883b8bc797bf7591fde489676a6e96b"><div class="ttname"><a href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96b">xrpl::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="nodestore_2Types_8h_source.html#l00025">nodestore/Types.h:25</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_1_1NodeStore_html_a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09"><div class="ttname"><a href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba42539583967afeb33b55afda69c39b09">xrpl::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition</b> <a href="nodestore_2Types_8h_source.html#l00027">nodestore/Types.h:27</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_1_1NodeStore_html_a4883b8bc797bf7591fde489676a6e96ba4dd62c7740eda7a1c3cc0ec8f3c9d84e"><div class="ttname"><a href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba4dd62c7740eda7a1c3cc0ec8f3c9d84e">xrpl::NodeStore::ok</a></div><div class="ttdeci">@ ok</div><div class="ttdef"><b>Definition</b> <a href="nodestore_2Types_8h_source.html#l00026">nodestore/Types.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_1_1NodeStore_html_a4883b8bc797bf7591fde489676a6e96ba878c28247feef60bd282c5632ebba888"><div class="ttname"><a href="namespacexrpl_1_1NodeStore.html#a4883b8bc797bf7591fde489676a6e96ba878c28247feef60bd282c5632ebba888">xrpl::NodeStore::dataCorrupt</a></div><div class="ttdeci">@ dataCorrupt</div><div class="ttdef"><b>Definition</b> <a href="nodestore_2Types_8h_source.html#l00028">nodestore/Types.h:28</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html"><div class="ttname"><a href="namespacexrpl.html">xrpl</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#l00006">algorithm.h:6</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a36b95700599f590017b5912e220baf5b"><div class="ttname"><a href="namespacexrpl.html#a36b95700599f590017b5912e220baf5b">xrpl::strHex</a></div><div class="ttdeci">std::string strHex(FwdIt begin, FwdIt end)</div><div class="ttdef"><b>Definition</b> <a href="strHex_8h_source.html#l00011">strHex.h:11</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a663b0ac7aab40440c7da9e3ea84a2ebf"><div class="ttname"><a href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebf">xrpl::NodeObjectType</a></div><div class="ttdeci">NodeObjectType</div><div class="ttdoc">The types of node objects.</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8h_source.html#l00013">NodeObject.h:13</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe"><div class="ttname"><a href="namespacexrpl.html#a663b0ac7aab40440c7da9e3ea84a2ebfa2740519e76bcb9d28ba546b2fadbd9fe">xrpl::hotDUMMY</a></div><div class="ttdeci">@ hotDUMMY</div><div class="ttdef"><b>Definition</b> <a href="NodeObject_8h_source.html#l00019">NodeObject.h:18</a></div></div>
|
||||
<div class="ttc" id="anamespacexrpl_html_addcb7706101a4cac409ab00b3052e86f"><div class="ttname"><a href="namespacexrpl.html#addcb7706101a4cac409ab00b3052e86f">xrpl::Rethrow</a></div><div class="ttdeci">void Rethrow()</div><div class="ttdoc">Rethrow the exception currently being handled.</div><div class="ttdef"><b>Definition</b> <a href="contract_8h_source.html#l00029">contract.h:29</a></div></div>
|
||||
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
|
||||
<div class="ttc" id="areset_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr/reset.html">std::shared_ptr::reset</a></div><div class="ttdeci">T reset(T... args)</div></div>
|
||||
<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="astructripple_1_1NodeStore_1_1FetchReport_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1FetchReport.html">ripple::NodeStore::FetchReport</a></div><div class="ttdoc">Contains information about a fetch operation.</div><div class="ttdef"><b>Definition</b> <a href="include_2xrpl_2nodestore_2Scheduler_8h_source.html#l00014">include/xrpl/nodestore/Scheduler.h:15</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1NodeStore_1_1FetchReport_html_a7ab35eb8a30af6dbc6ee916ccf60474d"><div class="ttname"><a href="structripple_1_1NodeStore_1_1FetchReport.html#a7ab35eb8a30af6dbc6ee916ccf60474d">ripple::NodeStore::FetchReport::wasFound</a></div><div class="ttdeci">bool wasFound</div><div class="ttdef"><b>Definition</b> <a href="include_2xrpl_2nodestore_2Scheduler_8h_source.html#l00022">include/xrpl/nodestore/Scheduler.h:22</a></div></div>
|
||||
<div class="ttc" id="astructxrpl_1_1NodeStore_1_1FetchReport_html"><div class="ttname"><a href="structxrpl_1_1NodeStore_1_1FetchReport.html">xrpl::NodeStore::FetchReport</a></div><div class="ttdoc">Contains information about a fetch operation.</div><div class="ttdef"><b>Definition</b> <a href="include_2xrpl_2nodestore_2Scheduler_8h_source.html#l00014">include/xrpl/nodestore/Scheduler.h:15</a></div></div>
|
||||
<div class="ttc" id="astructxrpl_1_1NodeStore_1_1FetchReport_html_acbb721c85531628e86f3bd96455f17b3"><div class="ttname"><a href="structxrpl_1_1NodeStore_1_1FetchReport.html#acbb721c85531628e86f3bd96455f17b3">xrpl::NodeStore::FetchReport::wasFound</a></div><div class="ttdeci">bool wasFound</div><div class="ttdef"><b>Definition</b> <a href="include_2xrpl_2nodestore_2Scheduler_8h_source.html#l00022">include/xrpl/nodestore/Scheduler.h:22</a></div></div>
|
||||
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</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< unsigned char ></a></div></div>
|
||||
<div class="ttc" id="awhat_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/exception/what.html">std::exception::what</a></div><div class="ttdeci">T what(T... args)</div></div>
|
||||
|
||||
Reference in New Issue
Block a user