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

View File

@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: NodeStoreScheduler.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -29,7 +29,7 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
@@ -46,6 +46,11 @@ $(function() {
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
@@ -103,6 +108,7 @@ $(function() {
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="foldopen" id="foldopen00029" data-start="{" data-end="};">
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStoreScheduler.html"> 29</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NodeStoreScheduler.html">NodeStoreScheduler</a> : <span class="keyword">public</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">NodeStore::Scheduler</a></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">public</span>:</div>
@@ -118,25 +124,26 @@ $(function() {
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStoreScheduler.html#aa0fbc996243ce5b4d1b5eb2a2cabc2fa"> 42</a></span> <a class="code hl_class" href="classripple_1_1JobQueue.html">JobQueue</a>&amp; <a class="code hl_variable" href="classripple_1_1NodeStoreScheduler.html#aa0fbc996243ce5b4d1b5eb2a2cabc2fa">jobQueue_</a>;</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="comment">// namespace ripple</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassripple_1_1JobQueue_html"><div class="ttname"><a href="classripple_1_1JobQueue.html">ripple::JobQueue</a></div><div class="ttdoc">A pool of threads to perform work.</div><div class="ttdef"><b>Definition:</b> <a href="JobQueue_8h_source.html#l00057">JobQueue.h:58</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html">ripple::NodeStoreScheduler</a></div><div class="ttdoc">A NodeStore::Scheduler which uses the JobQueue.</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8h_source.html#l00029">NodeStoreScheduler.h:30</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a042848ff97f97cff8a602ffec6b9f807"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a042848ff97f97cff8a602ffec6b9f807">ripple::NodeStoreScheduler::onFetch</a></div><div class="ttdeci">void onFetch(NodeStore::FetchReport const &amp;report) override</div><div class="ttdoc">Reports completion of a fetch Allows the scheduler to monitor the node store's performance.</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8cpp_source.html#l00045">NodeStoreScheduler.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a0b1c3260477e401b7e57493b0aaf9a3a"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a0b1c3260477e401b7e57493b0aaf9a3a">ripple::NodeStoreScheduler::scheduleTask</a></div><div class="ttdeci">void scheduleTask(NodeStore::Task &amp;task) override</div><div class="ttdoc">Schedules a task.</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8cpp_source.html#l00029">NodeStoreScheduler.cpp:29</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a0b9464b915021b488e3d2e22b840a62f"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f">ripple::NodeStoreScheduler::onBatchWrite</a></div><div class="ttdeci">void onBatchWrite(NodeStore::BatchWriteReport const &amp;report) override</div><div class="ttdoc">Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8cpp_source.html#l00058">NodeStoreScheduler.cpp:58</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_aa0fbc996243ce5b4d1b5eb2a2cabc2fa"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#aa0fbc996243ce5b4d1b5eb2a2cabc2fa">ripple::NodeStoreScheduler::jobQueue_</a></div><div class="ttdeci">JobQueue &amp; jobQueue_</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8h_source.html#l00042">NodeStoreScheduler.h:42</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Scheduler_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Scheduler.html">ripple::NodeStore::Scheduler</a></div><div class="ttdoc">Scheduling for asynchronous backend activity.</div><div class="ttdef"><b>Definition:</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00061">xrpld/nodestore/Scheduler.h:62</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html">ripple::NodeStore::BatchWriteReport</a></div><div class="ttdoc">Contains information about a batch write operation.</div><div class="ttdef"><b>Definition:</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00045">xrpld/nodestore/Scheduler.h:46</a></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="xrpld_2nodestore_2Scheduler_8h_source.html#l00033">xrpld/nodestore/Scheduler.h:34</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1Task_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1Task.html">ripple::NodeStore::Task</a></div><div class="ttdoc">Derived classes perform scheduled tasks.</div><div class="ttdef"><b>Definition:</b> <a href="Task_8h_source.html#l00027">Task.h:28</a></div></div>
<div class="ttc" id="aclassripple_1_1JobQueue_html"><div class="ttname"><a href="classripple_1_1JobQueue.html">ripple::JobQueue</a></div><div class="ttdoc">A pool of threads to perform work.</div><div class="ttdef"><b>Definition</b> <a href="JobQueue_8h_source.html#l00057">JobQueue.h:58</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html">ripple::NodeStoreScheduler</a></div><div class="ttdoc">A NodeStore::Scheduler which uses the JobQueue.</div><div class="ttdef"><b>Definition</b> <a href="NodeStoreScheduler_8h_source.html#l00029">NodeStoreScheduler.h:30</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a042848ff97f97cff8a602ffec6b9f807"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a042848ff97f97cff8a602ffec6b9f807">ripple::NodeStoreScheduler::onFetch</a></div><div class="ttdeci">void onFetch(NodeStore::FetchReport const &amp;report) override</div><div class="ttdoc">Reports completion of a fetch Allows the scheduler to monitor the node store's performance.</div><div class="ttdef"><b>Definition</b> <a href="NodeStoreScheduler_8cpp_source.html#l00045">NodeStoreScheduler.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a0b1c3260477e401b7e57493b0aaf9a3a"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a0b1c3260477e401b7e57493b0aaf9a3a">ripple::NodeStoreScheduler::scheduleTask</a></div><div class="ttdeci">void scheduleTask(NodeStore::Task &amp;task) override</div><div class="ttdoc">Schedules a task.</div><div class="ttdef"><b>Definition</b> <a href="NodeStoreScheduler_8cpp_source.html#l00029">NodeStoreScheduler.cpp:29</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a0b9464b915021b488e3d2e22b840a62f"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f">ripple::NodeStoreScheduler::onBatchWrite</a></div><div class="ttdeci">void onBatchWrite(NodeStore::BatchWriteReport const &amp;report) override</div><div class="ttdoc">Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.</div><div class="ttdef"><b>Definition</b> <a href="NodeStoreScheduler_8cpp_source.html#l00058">NodeStoreScheduler.cpp:58</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_aa0fbc996243ce5b4d1b5eb2a2cabc2fa"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#aa0fbc996243ce5b4d1b5eb2a2cabc2fa">ripple::NodeStoreScheduler::jobQueue_</a></div><div class="ttdeci">JobQueue &amp; jobQueue_</div><div class="ttdef"><b>Definition</b> <a href="NodeStoreScheduler_8h_source.html#l00042">NodeStoreScheduler.h:42</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Scheduler_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Scheduler.html">ripple::NodeStore::Scheduler</a></div><div class="ttdoc">Scheduling for asynchronous backend activity.</div><div class="ttdef"><b>Definition</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00061">xrpld/nodestore/Scheduler.h:62</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00025">algorithm.h:25</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html">ripple::NodeStore::BatchWriteReport</a></div><div class="ttdoc">Contains information about a batch write operation.</div><div class="ttdef"><b>Definition</b> <a href="xrpld_2nodestore_2Scheduler_8h_source.html#l00045">xrpld/nodestore/Scheduler.h:46</a></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="xrpld_2nodestore_2Scheduler_8h_source.html#l00033">xrpld/nodestore/Scheduler.h:34</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1Task_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1Task.html">ripple::NodeStore::Task</a></div><div class="ttdoc">Derived classes perform scheduled tasks.</div><div class="ttdef"><b>Definition</b> <a href="Task_8h_source.html#l00027">Task.h:28</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>