mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
deploy: 2406b28e64
This commit is contained in:
@@ -100,55 +100,57 @@ $(function() {
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include <xrpld/nodestore/Backend.h></span></div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="preprocessor">#include <xrpld/nodestore/Scheduler.h></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <nudb/store.hpp></span></div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="preprocessor">#include <xrpl/basics/BasicConfig.h></span></div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="preprocessor">#include <xrpl/beast/utility/Journal.h></span></div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#include <nudb/store.hpp></span></div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span>NodeStore {</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html"> 33</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NodeStore_1_1Factory.html">Factory</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><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a408ef44b2fd5eeba4a790ae3b4db1d60"> 36</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a408ef44b2fd5eeba4a790ae3b4db1d60">~Factory</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827"> 40</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827">getName</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<Backend></a></div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c"> 51</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c">createInstance</a>(</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">size_t</span> keyBytes,</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& parameters,</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code hl_enumvalue" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>& scheduler,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal) = 0;</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<Backend></a></div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714"> 68</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">createInstance</a>(</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">size_t</span> keyBytes,</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& parameters,</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code hl_enumvalue" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>,</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>& scheduler,</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> nudb::context& context,</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> {</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keywordflow">return</span> {};</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> }</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span>};</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>} <span class="comment">// namespace NodeStore</span></div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>} <span class="comment">// namespace ripple</span></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="preprocessor">#endif</span></div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="keyword">namespace </span>NodeStore {</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html"> 35</a></span><span class="keyword">class </span><a class="code hl_class" href="classripple_1_1NodeStore_1_1Factory.html">Factory</a></div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a408ef44b2fd5eeba4a790ae3b4db1d60"> 38</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a408ef44b2fd5eeba4a790ae3b4db1d60">~Factory</a>() = <span class="keywordflow">default</span>;</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827"> 42</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827">getName</a>() <span class="keyword">const</span> = 0;</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<Backend></a></div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c"> 53</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c">createInstance</a>(</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keywordtype">size_t</span> keyBytes,</div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& parameters,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code hl_enumvalue" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>,</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>& scheduler,</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal) = 0;</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> </div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr<Backend></a></div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714"> 70</a></span> <a class="code hl_function" href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">createInstance</a>(</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> <span class="keywordtype">size_t</span> keyBytes,</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> <a class="code hl_class" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>& parameters,</div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code hl_enumvalue" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>,</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <a class="code hl_class" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>& scheduler,</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> nudb::context& context,</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <a class="code hl_class" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <span class="keywordflow">return</span> {};</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> </div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span>} <span class="comment">// namespace NodeStore</span></div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>} <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
|
||||
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:59</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html">ripple::NodeStore::Factory</a></div><div class="ttdoc">Base class for backend factories.</div><div class="ttdef"><b>Definition:</b> <a href="Factory_8h_source.html#l00033">Factory.h:34</a></div></div>
|
||||
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00059">Journal.h:60</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html">ripple::NodeStore::Factory</a></div><div class="ttdoc">Base class for backend factories.</div><div class="ttdef"><b>Definition:</b> <a href="Factory_8h_source.html#l00035">Factory.h:36</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html_a31f0b64f00ea5caba4a992494382e827"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827">ripple::NodeStore::Factory::getName</a></div><div class="ttdeci">virtual std::string getName() const =0</div><div class="ttdoc">Retrieve the name of this factory.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html_a408ef44b2fd5eeba4a790ae3b4db1d60"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html#a408ef44b2fd5eeba4a790ae3b4db1d60">ripple::NodeStore::Factory::~Factory</a></div><div class="ttdeci">virtual ~Factory()=default</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html_a881d753bb4f6017085271c3e16db2714"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">ripple::NodeStore::Factory::createInstance</a></div><div class="ttdeci">virtual std::unique_ptr< Backend > createInstance(size_t keyBytes, Section const &parameters, std::size_t burstSize, Scheduler &scheduler, nudb::context &context, beast::Journal journal)</div><div class="ttdoc">Create an instance of this factory's backend.</div><div class="ttdef"><b>Definition:</b> <a href="Factory_8h_source.html#l00068">Factory.h:68</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html_a881d753bb4f6017085271c3e16db2714"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">ripple::NodeStore::Factory::createInstance</a></div><div class="ttdeci">virtual std::unique_ptr< Backend > createInstance(size_t keyBytes, Section const &parameters, std::size_t burstSize, Scheduler &scheduler, nudb::context &context, beast::Journal journal)</div><div class="ttdoc">Create an instance of this factory's backend.</div><div class="ttdef"><b>Definition:</b> <a href="Factory_8h_source.html#l00070">Factory.h:70</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Factory_html_ab09ead0fbc88a5b1624cfefc6c9e4f7c"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c">ripple::NodeStore::Factory::createInstance</a></div><div class="ttdeci">virtual std::unique_ptr< Backend > createInstance(size_t keyBytes, Section const &parameters, std::size_t burstSize, Scheduler &scheduler, beast::Journal journal)=0</div><div class="ttdoc">Create an instance of this factory's backend.</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#l00060">xrpld/nodestore/Scheduler.h:61</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00045">BasicConfig.h:46</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="aclassripple_1_1Section_html"><div class="ttname"><a href="classripple_1_1Section.html">ripple::Section</a></div><div class="ttdoc">Holds a collection of configuration values.</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00044">BasicConfig.h:45</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#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746"><div class="ttname"><a href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">ripple::SizedItem::burstSize</a></div><div class="ttdeci">@ burstSize</div></div>
|
||||
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user