This commit is contained in:
nbougalis
2020-12-21 13:57:13 +00:00
parent 00ae94e785
commit c55b377da7
2394 changed files with 44923 additions and 47046 deletions

View File

@@ -149,26 +149,25 @@ $(function() {
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStoreScheduler.html#a042848ff97f97cff8a602ffec6b9f807"> 79</a></span>&#160;<a class="code" href="classripple_1_1NodeStoreScheduler.html#a042848ff97f97cff8a602ffec6b9f807">NodeStoreScheduler::onFetch</a>(<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html">NodeStore::FetchReport</a> <span class="keyword">const</span>&amp; report)</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;{</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keywordflow">if</span> (report.<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html#a3063c18d4ab5927e8a3cb129745a2ca3">wentToDisk</a>)</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <a class="code" href="classripple_1_1NodeStoreScheduler.html#a146acebc53e84da88b499513783d6687">m_jobQueue</a>-&gt;<a class="code" href="classripple_1_1JobQueue.html#a719a330a06633559303d6ebcd5945b07">addLoadEvents</a>(</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; report.<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html#a868b2b01ffe4faef250ab0d5fa685a0d">fetchType</a> == <a class="code" href="namespaceripple_1_1NodeStore.html#a6334ed426a8dbe335761b9d81ab6f19fa0df93e34273b367bb63bad28c94c78d5">NodeStore::FetchType::async</a> ? <a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aac573ff0fe885e62083387ad1823b4f84">jtNS_ASYNC_READ</a></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; : <a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aab724b0c38f524c70378ef010fe8b7e2c">jtNS_SYNC_READ</a>,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; 1,</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; report.<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html#ad28c626873890debb451674b62037f57">elapsed</a>);</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;}</div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; </div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f"> 90</a></span>&#160;<a class="code" href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f">NodeStoreScheduler::onBatchWrite</a>(<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html">NodeStore::BatchWriteReport</a> <span class="keyword">const</span>&amp; report)</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;{</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="classripple_1_1NodeStoreScheduler.html#a146acebc53e84da88b499513783d6687">m_jobQueue</a>-&gt;<a class="code" href="classripple_1_1JobQueue.html#a719a330a06633559303d6ebcd5945b07">addLoadEvents</a>(<a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aaa94b630431b8f365820cf3a29ed67f3e">jtNS_WRITE</a>, report.<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a357c5cc140aa8da903855175e07b4d0b">writeCount</a>, report.<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a183bf74eb142fef4d3dd5d18905d9a22">elapsed</a>);</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;}</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="code" href="classripple_1_1NodeStoreScheduler.html#a146acebc53e84da88b499513783d6687">m_jobQueue</a>-&gt;<a class="code" href="classripple_1_1JobQueue.html#a719a330a06633559303d6ebcd5945b07">addLoadEvents</a>(</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; report.<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html#a868b2b01ffe4faef250ab0d5fa685a0d">fetchType</a> == <a class="code" href="namespaceripple_1_1NodeStore.html#a6334ed426a8dbe335761b9d81ab6f19fa0df93e34273b367bb63bad28c94c78d5">NodeStore::FetchType::async</a> ? <a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aac573ff0fe885e62083387ad1823b4f84">jtNS_ASYNC_READ</a></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; : <a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aab724b0c38f524c70378ef010fe8b7e2c">jtNS_SYNC_READ</a>,</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; 1,</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; report.<a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html#ad28c626873890debb451674b62037f57">elapsed</a>);</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; </div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keywordtype">void</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f"> 89</a></span>&#160;<a class="code" href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f">NodeStoreScheduler::onBatchWrite</a>(<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html">NodeStore::BatchWriteReport</a> <span class="keyword">const</span>&amp; report)</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;{</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="classripple_1_1NodeStoreScheduler.html#a146acebc53e84da88b499513783d6687">m_jobQueue</a>-&gt;<a class="code" href="classripple_1_1JobQueue.html#a719a330a06633559303d6ebcd5945b07">addLoadEvents</a>(<a class="code" href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aaa94b630431b8f365820cf3a29ed67f3e">jtNS_WRITE</a>, report.<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a357c5cc140aa8da903855175e07b4d0b">writeCount</a>, report.<a class="code" href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a183bf74eb142fef4d3dd5d18905d9a22">elapsed</a>);</div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;}</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;} <span class="comment">// namespace ripple</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1Stoppable_html_a65a95f9c14637491df60d3a07518fa09"><div class="ttname"><a href="classripple_1_1Stoppable.html#a65a95f9c14637491df60d3a07518fa09">ripple::Stoppable::stopped</a></div><div class="ttdeci">void stopped()</div><div class="ttdoc">Called by derived classes to indicate that the stoppable has stopped.</div><div class="ttdef"><b>Definition:</b> <a href="Stoppable_8cpp_source.html#l00072">Stoppable.cpp:72</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#l00049">NodeStoreScheduler.cpp:49</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#l00079">NodeStoreScheduler.cpp:79</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#l00090">NodeStoreScheduler.cpp:90</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#l00089">NodeStoreScheduler.cpp:89</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a96b26e08b9c88444a926c142508f1c0c"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a96b26e08b9c88444a926c142508f1c0c">ripple::NodeStoreScheduler::NodeStoreScheduler</a></div><div class="ttdeci">NodeStoreScheduler(Stoppable &amp;parent)</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8cpp_source.html#l00025">NodeStoreScheduler.cpp:25</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae0f54f8ce649d639bf3e2b295347e17aab724b0c38f524c70378ef010fe8b7e2c"><div class="ttname"><a href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aab724b0c38f524c70378ef010fe8b7e2c">ripple::jtNS_SYNC_READ</a></div><div class="ttdeci">@ jtNS_SYNC_READ</div><div class="ttdef"><b>Definition:</b> <a href="Job_8h_source.html#l00077">Job.h:77</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="ripple_2nodestore_2Scheduler_8h_source.html#l00032">ripple/nodestore/Scheduler.h:32</a></div></div>
@@ -182,7 +181,7 @@ $(function() {
<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:27</a></div></div>
<div class="ttc" id="aclassripple_1_1Stoppable_html_a9ec6fda89ff8bc63251a9c3682311e5d"><div class="ttname"><a href="classripple_1_1Stoppable.html#a9ec6fda89ff8bc63251a9c3682311e5d">ripple::Stoppable::areChildrenStopped</a></div><div class="ttdeci">bool areChildrenStopped() const</div><div class="ttdoc">Returns true if all children have stopped.</div><div class="ttdef"><b>Definition:</b> <a href="Stoppable_8cpp_source.html#l00066">Stoppable.cpp:66</a></div></div>
<div class="ttc" id="aclassripple_1_1Job_html"><div class="ttname"><a href="classripple_1_1Job.html">ripple::Job</a></div><div class="ttdef"><b>Definition:</b> <a href="Job_8h_source.html#l00082">Job.h:82</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="ripple_2nodestore_2Scheduler_8h_source.html#l00045">ripple/nodestore/Scheduler.h:45</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="ripple_2nodestore_2Scheduler_8h_source.html#l00044">ripple/nodestore/Scheduler.h:44</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#l00055">JobQueue.h:55</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_aa867bc4406b1edb87c76e6fd423175b1"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#aa867bc4406b1edb87c76e6fd423175b1">ripple::NodeStoreScheduler::setJobQueue</a></div><div class="ttdeci">void setJobQueue(JobQueue &amp;jobQueue)</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8cpp_source.html#l00031">NodeStoreScheduler.cpp:31</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_a6334ed426a8dbe335761b9d81ab6f19fa0df93e34273b367bb63bad28c94c78d5"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#a6334ed426a8dbe335761b9d81ab6f19fa0df93e34273b367bb63bad28c94c78d5">ripple::NodeStore::FetchType::async</a></div><div class="ttdeci">@ async</div></div>
@@ -191,10 +190,9 @@ $(function() {
<div class="ttc" id="astructripple_1_1NodeStore_1_1Task_html_a1ed44e570fe3bd98407aae13a554ec2b"><div class="ttname"><a href="structripple_1_1NodeStore_1_1Task.html#a1ed44e570fe3bd98407aae13a554ec2b">ripple::NodeStore::Task::performScheduledTask</a></div><div class="ttdeci">virtual void performScheduledTask()=0</div><div class="ttdoc">Performs the task.</div></div>
<div class="ttc" id="acassert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/cassert.html">cassert</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStoreScheduler_html_a658d50b2c4bfdb0446f9527551aa26bb"><div class="ttname"><a href="classripple_1_1NodeStoreScheduler.html#a658d50b2c4bfdb0446f9527551aa26bb">ripple::NodeStoreScheduler::m_taskCount</a></div><div class="ttdeci">std::atomic&lt; int &gt; m_taskCount</div><div class="ttdef"><b>Definition:</b> <a href="NodeStoreScheduler_8h_source.html#l00059">NodeStoreScheduler.h:59</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html_a357c5cc140aa8da903855175e07b4d0b"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a357c5cc140aa8da903855175e07b4d0b">ripple::NodeStore::BatchWriteReport::writeCount</a></div><div class="ttdeci">int writeCount</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00050">ripple/nodestore/Scheduler.h:50</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html_a183bf74eb142fef4d3dd5d18905d9a22"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a183bf74eb142fef4d3dd5d18905d9a22">ripple::NodeStore::BatchWriteReport::elapsed</a></div><div class="ttdeci">std::chrono::milliseconds elapsed</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00049">ripple/nodestore/Scheduler.h:49</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html_a357c5cc140aa8da903855175e07b4d0b"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a357c5cc140aa8da903855175e07b4d0b">ripple::NodeStore::BatchWriteReport::writeCount</a></div><div class="ttdeci">int writeCount</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00049">ripple/nodestore/Scheduler.h:49</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1BatchWriteReport_html_a183bf74eb142fef4d3dd5d18905d9a22"><div class="ttname"><a href="structripple_1_1NodeStore_1_1BatchWriteReport.html#a183bf74eb142fef4d3dd5d18905d9a22">ripple::NodeStore::BatchWriteReport::elapsed</a></div><div class="ttdeci">std::chrono::milliseconds elapsed</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00048">ripple/nodestore/Scheduler.h:48</a></div></div>
<div class="ttc" id="aclassripple_1_1JobQueue_html_a719a330a06633559303d6ebcd5945b07"><div class="ttname"><a href="classripple_1_1JobQueue.html#a719a330a06633559303d6ebcd5945b07">ripple::JobQueue::addLoadEvents</a></div><div class="ttdeci">void addLoadEvents(JobType t, int count, std::chrono::milliseconds elapsed)</div><div class="ttdoc">Add multiple load events.</div><div class="ttdef"><b>Definition:</b> <a href="JobQueue_8cpp_source.html#l00193">JobQueue.cpp:193</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1FetchReport_html_a3063c18d4ab5927e8a3cb129745a2ca3"><div class="ttname"><a href="structripple_1_1NodeStore_1_1FetchReport.html#a3063c18d4ab5927e8a3cb129745a2ca3">ripple::NodeStore::FetchReport::wentToDisk</a></div><div class="ttdeci">bool wentToDisk</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00040">ripple/nodestore/Scheduler.h:40</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1FetchReport_html_ad28c626873890debb451674b62037f57"><div class="ttname"><a href="structripple_1_1NodeStore_1_1FetchReport.html#ad28c626873890debb451674b62037f57">ripple::NodeStore::FetchReport::elapsed</a></div><div class="ttdeci">std::chrono::milliseconds elapsed</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00038">ripple/nodestore/Scheduler.h:38</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae0f54f8ce649d639bf3e2b295347e17aac573ff0fe885e62083387ad1823b4f84"><div class="ttname"><a href="namespaceripple.html#ae0f54f8ce649d639bf3e2b295347e17aac573ff0fe885e62083387ad1823b4f84">ripple::jtNS_ASYNC_READ</a></div><div class="ttdeci">@ jtNS_ASYNC_READ</div><div class="ttdef"><b>Definition:</b> <a href="Job_8h_source.html#l00078">Job.h:78</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1FetchReport_html_a868b2b01ffe4faef250ab0d5fa685a0d"><div class="ttname"><a href="structripple_1_1NodeStore_1_1FetchReport.html#a868b2b01ffe4faef250ab0d5fa685a0d">ripple::NodeStore::FetchReport::fetchType</a></div><div class="ttdeci">const FetchType fetchType</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2nodestore_2Scheduler_8h_source.html#l00039">ripple/nodestore/Scheduler.h:39</a></div></div>