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,23 +91,23 @@ Collaboration diagram for ripple::NodeStore::DatabaseRotating:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStore_1_1DatabaseRotating__coll__graph.png" border="0" usemap="#ripple_1_1NodeStore_1_1DatabaseRotating_coll__map" alt="Collaboration graph"/></div>
<map name="ripple_1_1NodeStore_1_1DatabaseRotating_coll__map" id="ripple_1_1NodeStore_1_1DatabaseRotating_coll__map">
<area shape="rect" title=" " alt="" coords="1531,271,1673,313"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="1339,271,1481,313"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="983,11,1126,37"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="978,61,1131,88"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,168,108,195"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,270,389,311"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="413,169,620,196"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="969,349,1140,376"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="951,400,1158,427"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="666,400,769,427"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="1009,451,1101,477"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="936,225,1173,325"/>
<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,254,788,295"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,219,349,245"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="983,502,1126,543"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="999,568,1110,595"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="644,568,791,595"/>
<area shape="rect" title=" " alt="" coords="1531,286,1673,327"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="1339,286,1481,327"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="983,25,1126,52"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="978,76,1131,103"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,183,108,209"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,285,389,326"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="413,184,620,211"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="969,364,1140,391"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="951,415,1158,441"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="666,415,769,441"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="1009,465,1101,492"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="936,239,1173,339"/>
<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,269,788,310"/>
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,233,349,260"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="983,517,1126,558"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="999,583,1110,609"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="644,583,791,609"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
@@ -214,6 +214,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>
@@ -250,6 +252,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">
@@ -611,7 +615,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>
@@ -717,7 +721,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>
@@ -792,7 +796,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>
@@ -992,7 +996,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>
@@ -1050,7 +1054,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>
@@ -1077,7 +1081,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>
@@ -1310,7 +1314,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>
@@ -1348,7 +1352,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>
@@ -1386,7 +1390,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>
@@ -1430,7 +1434,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>
@@ -1494,7 +1498,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>
@@ -1714,6 +1718,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>
@@ -1736,7 +1764,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>
@@ -1760,7 +1788,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>
@@ -1784,7 +1812,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>
@@ -1808,7 +1836,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>
@@ -1832,7 +1860,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>
@@ -1856,7 +1884,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>
@@ -1880,7 +1908,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>
@@ -1904,7 +1932,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>
@@ -1928,7 +1956,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>
@@ -1952,7 +1980,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>