This commit is contained in:
manojsdoshi
2022-05-11 23:57:28 +00:00
parent c1b77a4e4e
commit 9aeea1cf29
1248 changed files with 88723 additions and 83819 deletions

View File

@@ -91,26 +91,26 @@ Collaboration diagram for ripple::NodeStore::DatabaseRotatingImp:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStore_1_1DatabaseRotatingImp__coll__graph.png" border="0" usemap="#ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map" id="ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map">
<area shape="rect" title=" " alt="" coords="1925,575,2088,617"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1DatabaseRotating.html" title=" " alt="" coords="1600,405,1743,446"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="1339,291,1481,333"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="983,64,1126,91"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="978,115,1131,141"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,220,108,247"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,322,389,363"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="413,221,620,248"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="969,397,1140,424"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="951,448,1158,475"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="666,448,769,475"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="1009,573,1101,600"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="936,273,1173,373"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="647,302,788,343"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,271,349,297"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="983,499,1126,541"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="999,13,1110,40"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="644,13,791,40"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1583,634,1760,675"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore." alt="" coords="1339,634,1481,675"/>
<area shape="rect" title=" " alt="" coords="1925,583,2088,625"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1DatabaseRotating.html" title=" " alt="" coords="1600,413,1743,454"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="1339,299,1481,341"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="983,72,1126,99"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="978,123,1131,149"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,228,108,255"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,330,389,371"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="413,229,620,256"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="969,405,1140,432"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="951,456,1158,483"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="666,456,769,483"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="1009,581,1101,608"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="936,281,1173,381"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="647,310,788,351"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,279,349,305"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="983,507,1126,549"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="999,15,1110,41"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="644,15,791,41"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1583,642,1760,683"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore." alt="" coords="1339,642,1481,683"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
@@ -225,6 +225,8 @@ Protected Attributes</h2></td></tr>
<tr class="separator:aa59aca23acd391245f0b403df74ac8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569a3e61f4c7d272d96845b3a12c479a"><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a569a3e61f4c7d272d96845b3a12c479a">earliestShardIndex_</a></td></tr>
<tr class="separator:a569a3e61f4c7d272d96845b3a12c479a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f61a1a22df3ffe095ae4086d66e8756"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a4f61a1a22df3ffe095ae4086d66e8756">requestBundle_</a></td></tr>
<tr class="separator:a4f61a1a22df3ffe095ae4086d66e8756"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
@@ -267,6 +269,8 @@ Private Attributes</h2></td></tr>
<tr class="separator:a7cb4eee79861b6a496fe6ddcd024a5f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5fd85ba304bf9fd6e5afd7f06025180"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#af5fd85ba304bf9fd6e5afd7f06025180">readThreads_</a> = 0</td></tr>
<tr class="separator:af5fd85ba304bf9fd6e5afd7f06025180"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9f741a64dae54f4b30f31fb68565283"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#ad9f741a64dae54f4b30f31fb68565283">runningThreads_</a> = 0</td></tr>
<tr class="separator:ad9f741a64dae54f4b30f31fb68565283"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
@@ -906,7 +910,7 @@ Private Attributes</h2></td></tr>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The object, or nullptr if it couldn't be retrieved. </dd></dl>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00214">214</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00226">226</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -962,7 +966,7 @@ Private Attributes</h2></td></tr>
</dd>
</dl>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00163">163</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00175">175</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1000,7 +1004,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00241">241</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00253">253</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1171,7 +1175,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00340">340</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00352">352</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1229,7 +1233,7 @@ Private Attributes</h2></td></tr>
<p>Reimplemented in <a class="el" href="classripple_1_1NodeStore_1_1DatabaseShardImp.html#a251a119d067dbf4cb1cdc0f326bfdaf3">ripple::NodeStore::DatabaseShardImp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00149">149</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00161">161</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1256,7 +1260,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00130">130</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00142">142</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1489,7 +1493,7 @@ Private Attributes</h2></td></tr>
<dl class="section return"><dt>Returns</dt><dd>The maximum ledgers pertaining to the shard index</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The earliest shard may store less if the earliest ledger sequence truncates its beginning </dd></dl>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00136">136</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00148">148</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1527,7 +1531,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00328">328</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00333">333</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -1565,7 +1569,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00175">175</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00187">187</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
</div>
</div>
@@ -1609,7 +1613,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00344">344</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00349">349</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -1641,7 +1645,7 @@ Private Attributes</h2></td></tr>
<p>Reimplemented in <a class="el" href="classripple_1_1NodeStore_1_1DatabaseNodeImp.html#a9c7d1bd4925bf9b0a4501dd9872fdaf8">ripple::NodeStore::DatabaseNodeImp</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00395">395</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00401">401</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -1933,6 +1937,30 @@ Private Attributes</h2></td></tr>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00325">325</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
<a id="a4f61a1a22df3ffe095ae4086d66e8756"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f61a1a22df3ffe095ae4086d66e8756">&#9670;&nbsp;</a></span>requestBundle_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const int ripple::NodeStore::Database::requestBundle_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00330">330</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
<a id="a4dc1dcc2a79b60c2c7de7f1bdf05cecf"></a>
@@ -1955,7 +1983,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00352">352</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00357">357</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -1979,7 +2007,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00353">353</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00358">358</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2003,7 +2031,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00354">354</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00359">359</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2027,7 +2055,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00355">355</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00360">360</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2051,7 +2079,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00356">356</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00361">361</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2075,7 +2103,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00358">358</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00363">363</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2099,7 +2127,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00359">359</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00364">364</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2123,7 +2151,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00367">367</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00372">372</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2147,7 +2175,7 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00369">369</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00374">374</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
@@ -2171,7 +2199,31 @@ Private Attributes</h2></td></tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00370">370</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00375">375</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>
<a id="ad9f741a64dae54f4b30f31fb68565283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad9f741a64dae54f4b30f31fb68565283">&#9670;&nbsp;</a></span>runningThreads_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>&lt;int&gt; ripple::NodeStore::Database::runningThreads_ = 0</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00376">376</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
</div>
</div>