This commit is contained in:
manojsdoshi
2021-06-04 17:39:30 +00:00
parent 375f650549
commit 2709cd752f
3925 changed files with 132532 additions and 172858 deletions

View File

@@ -105,118 +105,106 @@ $(function() {
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a60f48a153732ad494f553eded13438cb">operator=</a>(<a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; </div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac82d8cd599ee29280d5cf6796ff01332">DatabaseRotatingImp</a>(</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; name,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>&amp; scheduler,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">int</span> readThreads,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="classripple_1_1Stoppable.html">Stoppable</a>&amp; parent,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> writableBackend,</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> archiveBackend,</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="code" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7c5d2c471c6ceac28c09bb729f377c0e"> 46</a></span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7c5d2c471c6ceac28c09bb729f377c0e">~DatabaseRotatingImp</a>()<span class="keyword"> override</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="comment">// Stop read threads in base before data members are destroyed</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1Database.html#adb9c1d15c7638e1448be9f5a98563f6b">stopReadThreads</a>();</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; }</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">rotateWithLock</a>(</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;NodeStore::Backend&gt;</a>(</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; writableBackendName)&gt; <span class="keyword">const</span>&amp; f) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>&amp; scheduler,</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keywordtype">int</span> readThreads,</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> writableBackend,</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> archiveBackend,</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <a class="code" href="classripple_1_1Section.html">Section</a> <span class="keyword">const</span>&amp; config,</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> j);</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a918c33e966477d04dbf3d901d8508c4f"> 44</a></span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a918c33e966477d04dbf3d901d8508c4f">~DatabaseRotatingImp</a>()</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; {</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1Database.html#affd86ea8d57875e1c9722fdf6a8f6326">stop</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; }</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">rotateWithLock</a>(</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;NodeStore::Backend&gt;</a>(</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> <span class="keyword">const</span>&amp; writableBackendName)&gt; <span class="keyword">const</span>&amp; f) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">getName</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">getName</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::int32_t</a></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">getWriteLoad</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::int32_t</a></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">getWriteLoad</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a8210f362baae4b4b3f6f1bff9b808317">importDatabase</a>(<a class="code" href="classripple_1_1NodeStore_1_1Database.html">Database</a>&amp; source) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">import</span>(<a class="code" href="classripple_1_1NodeStore_1_1Database.html">Database</a>&amp; source) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94"> 66</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94">isSameDB</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>)<span class="keyword"> override</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// rotating store acts as one logical database</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; }</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7992d0dd009c5b855c331c73872c946d">store</a>(<a class="code" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">NodeObjectType</a> type, <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a>&amp;&amp; data, <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>)</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">override</span>;</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94"> 63</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94">isSameDB</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>)<span class="keyword"> override</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="keyword"> </span>{</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="comment">// rotating store acts as one logical database</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordflow">return</span> <span class="keyword">true</span>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; }</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7992d0dd009c5b855c331c73872c946d">store</a>(<a class="code" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">NodeObjectType</a> type, <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a>&amp;&amp; data, <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash, <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>)</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">override</span>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a61a400a9f8a8403d64c70b8d089c5be0">sync</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a61a400a9f8a8403d64c70b8d089c5be0">sync</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">storeLedger</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a> <span class="keyword">const</span>&amp; srcLedger) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">storeLedger</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Ledger const&gt;</a> <span class="keyword">const</span>&amp; srcLedger) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">sweep</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">sweep</a>() <span class="keyword">override</span>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5"> 86</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5">writableBackend_</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb"> 87</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb">archiveBackend_</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717"> 88</a></span>&#160; <span class="keyword">mutable</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717">mutex_</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html"> 90</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html">Backends</a></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"><a class="line" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a4f1561f76ce402f223faf00ba3396c4b"> 92</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a4f1561f76ce402f223faf00ba3396c4b">writableBackend</a>;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a2b10b7c2daa16551441cedb31ea179f0"> 93</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <span class="keyword">const</span>&amp; <a class="code" href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a2b10b7c2daa16551441cedb31ea179f0">archiveBackend</a>;</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; </div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8979815c7dbf46de5ca0dd7b293d5bb">fetchNodeObject</a>(</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash,</div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>,</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html">FetchReport</a>&amp; fetchReport) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">for_each</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a>)&gt; f) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;};</div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;} <span class="comment">// namespace NodeStore</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; </div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5"> 83</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5">writableBackend_</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb"> 84</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;Backend&gt;</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb">archiveBackend_</a>;</div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717"> 85</a></span>&#160; <span class="keyword">mutable</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717">mutex_</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; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8979815c7dbf46de5ca0dd7b293d5bb">fetchNodeObject</a>(</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classripple_1_1base__uint.html">uint256</a> <span class="keyword">const</span>&amp; hash,</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>,</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="structripple_1_1NodeStore_1_1FetchReport.html">FetchReport</a>&amp; fetchReport) <span class="keyword">override</span>;</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; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">for_each</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">void</span>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a>)&gt; f) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;};</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;} <span class="comment">// namespace NodeStore</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<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#l00043">BasicConfig.h:43</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a76f256f68048bc81a0d034f7226387b8"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">ripple::NodeStore::DatabaseRotatingImp::rotateWithLock</a></div><div class="ttdeci">void rotateWithLock(std::function&lt; std::unique_ptr&lt; NodeStore::Backend &gt;(std::string const &amp;writableBackendName)&gt; const &amp;f) override</div><div class="ttdoc">Rotates the backends.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00048">DatabaseRotatingImp.cpp:48</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a44b1eace70e02649d16668ca920531cb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb">ripple::NodeStore::DatabaseRotatingImp::archiveBackend_</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; archiveBackend_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00087">DatabaseRotatingImp.h:87</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html">ripple::NodeStore::Database</a></div><div class="ttdoc">Persistency layer for NodeObject.</div><div class="ttdef"><b>Definition:</b> <a href="Database_8h_source.html#l00050">Database.h:50</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a76f256f68048bc81a0d034f7226387b8"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">ripple::NodeStore::DatabaseRotatingImp::rotateWithLock</a></div><div class="ttdeci">void rotateWithLock(std::function&lt; std::unique_ptr&lt; NodeStore::Backend &gt;(std::string const &amp;writableBackendName)&gt; const &amp;f) override</div><div class="ttdoc">Rotates the backends.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00045">DatabaseRotatingImp.cpp:45</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a918c33e966477d04dbf3d901d8508c4f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a918c33e966477d04dbf3d901d8508c4f">ripple::NodeStore::DatabaseRotatingImp::~DatabaseRotatingImp</a></div><div class="ttdeci">~DatabaseRotatingImp()</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00044">DatabaseRotatingImp.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a8210f362baae4b4b3f6f1bff9b808317"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a8210f362baae4b4b3f6f1bff9b808317">ripple::NodeStore::DatabaseRotatingImp::importDatabase</a></div><div class="ttdeci">void importDatabase(Database &amp;source) override</div><div class="ttdoc">Import objects from another database.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00072">DatabaseRotatingImp.cpp:72</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a44b1eace70e02649d16668ca920531cb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb">ripple::NodeStore::DatabaseRotatingImp::archiveBackend_</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; archiveBackend_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00084">DatabaseRotatingImp.h:84</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html">ripple::NodeStore::Database</a></div><div class="ttdoc">Persistency layer for NodeObject.</div><div class="ttdef"><b>Definition:</b> <a href="Database_8h_source.html#l00052">Database.h:52</a></div></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 class="ttdoc">STL class.</div></div>
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_aa67b13515a70659f536b6d1cfeb1c2a2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">ripple::NodeStore::DatabaseRotatingImp::sweep</a></div><div class="ttdeci">void sweep() override</div><div class="ttdoc">Remove expired entries from the positive and negative caches.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00122">DatabaseRotatingImp.cpp:122</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_aa67b13515a70659f536b6d1cfeb1c2a2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">ripple::NodeStore::DatabaseRotatingImp::sweep</a></div><div class="ttdeci">void sweep() override</div><div class="ttdoc">Remove expired entries from the positive and negative caches.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00119">DatabaseRotatingImp.cpp:119</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt; unsigned char &gt;</a></div></div>
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">ripple::NodeObjectType</a></div><div class="ttdeci">NodeObjectType</div><div class="ttdoc">The types of node objects.</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00032">NodeObject.h:32</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends_html_a2b10b7c2daa16551441cedb31ea179f0"><div class="ttname"><a href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a2b10b7c2daa16551441cedb31ea179f0">ripple::NodeStore::DatabaseRotatingImp::Backends::archiveBackend</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; const &amp; archiveBackend</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00093">DatabaseRotatingImp.h:93</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_ac82d8cd599ee29280d5cf6796ff01332"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac82d8cd599ee29280d5cf6796ff01332">ripple::NodeStore::DatabaseRotatingImp::DatabaseRotatingImp</a></div><div class="ttdeci">DatabaseRotatingImp()=delete</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_ac8979815c7dbf46de5ca0dd7b293d5bb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8979815c7dbf46de5ca0dd7b293d5bb">ripple::NodeStore::DatabaseRotatingImp::fetchNodeObject</a></div><div class="ttdeci">std::shared_ptr&lt; NodeObject &gt; fetchNodeObject(uint256 const &amp;hash, std::uint32_t, FetchReport &amp;fetchReport) override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00128">DatabaseRotatingImp.cpp:128</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_ac8979815c7dbf46de5ca0dd7b293d5bb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8979815c7dbf46de5ca0dd7b293d5bb">ripple::NodeStore::DatabaseRotatingImp::fetchNodeObject</a></div><div class="ttdeci">std::shared_ptr&lt; NodeObject &gt; fetchNodeObject(uint256 const &amp;hash, std::uint32_t, FetchReport &amp;fetchReport) override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00125">DatabaseRotatingImp.cpp:125</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_affd86ea8d57875e1c9722fdf6a8f6326"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#affd86ea8d57875e1c9722fdf6a8f6326">ripple::NodeStore::Database::stop</a></div><div class="ttdeci">virtual void stop()</div><div class="ttdef"><b>Definition:</b> <a href="Database_8cpp_source.html#l00089">Database.cpp:89</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>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a9c3f2d7e8b7e4cca14afe2177c1466b3"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">ripple::NodeStore::DatabaseRotatingImp::getName</a></div><div class="ttdeci">std::string getName() const override</div><div class="ttdoc">Retrieve the name associated with this backend.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00061">DatabaseRotatingImp.cpp:61</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a9c3f2d7e8b7e4cca14afe2177c1466b3"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">ripple::NodeStore::DatabaseRotatingImp::getName</a></div><div class="ttdeci">std::string getName() const override</div><div class="ttdoc">Retrieve the name associated with this backend.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00058">DatabaseRotatingImp.cpp:58</a></div></div>
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a3b006f7535475fd276bc30b77a1b4673"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">ripple::NodeStore::DatabaseRotatingImp::getWriteLoad</a></div><div class="ttdeci">std::int32_t getWriteLoad() const override</div><div class="ttdoc">Retrieve the estimated number of pending write operations.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00068">DatabaseRotatingImp.cpp:68</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a3b006f7535475fd276bc30b77a1b4673"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">ripple::NodeStore::DatabaseRotatingImp::getWriteLoad</a></div><div class="ttdeci">std::int32_t getWriteLoad() const override</div><div class="ttdoc">Retrieve the estimated number of pending write operations.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00065">DatabaseRotatingImp.cpp:65</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">ripple::NodeStore::DatabaseRotatingImp</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00028">DatabaseRotatingImp.h:28</a></div></div>
<div class="ttc" id="aclassripple_1_1Stoppable_html"><div class="ttname"><a href="classripple_1_1Stoppable.html">ripple::Stoppable</a></div><div class="ttdoc">Provides an interface for starting and stopping.</div><div class="ttdef"><b>Definition:</b> <a href="Stoppable_8h_source.html#l00201">Stoppable.h:201</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a4d803c36c8aea67c83f735814de25717"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717">ripple::NodeStore::DatabaseRotatingImp::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00088">DatabaseRotatingImp.h:88</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a55502de7f83a364526263b38bc1fe709"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">ripple::NodeStore::DatabaseRotatingImp::storeLedger</a></div><div class="ttdeci">bool storeLedger(std::shared_ptr&lt; Ledger const &gt; const &amp;srcLedger) override</div><div class="ttdoc">Store a ledger from a different database.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00086">DatabaseRotatingImp.cpp:86</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a61a400a9f8a8403d64c70b8d089c5be0"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a61a400a9f8a8403d64c70b8d089c5be0">ripple::NodeStore::DatabaseRotatingImp::sync</a></div><div class="ttdeci">void sync() override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00097">DatabaseRotatingImp.cpp:97</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a4d803c36c8aea67c83f735814de25717"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717">ripple::NodeStore::DatabaseRotatingImp::mutex_</a></div><div class="ttdeci">std::mutex mutex_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00085">DatabaseRotatingImp.h:85</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a55502de7f83a364526263b38bc1fe709"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">ripple::NodeStore::DatabaseRotatingImp::storeLedger</a></div><div class="ttdeci">bool storeLedger(std::shared_ptr&lt; Ledger const &gt; const &amp;srcLedger) override</div><div class="ttdoc">Store a ledger from a different database.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00083">DatabaseRotatingImp.cpp:83</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a61a400a9f8a8403d64c70b8d089c5be0"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a61a400a9f8a8403d64c70b8d089c5be0">ripple::NodeStore::DatabaseRotatingImp::sync</a></div><div class="ttdeci">void sync() override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00094">DatabaseRotatingImp.cpp:94</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:58</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::int32_t</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotating_html"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotating.html">ripple::NodeStore::DatabaseRotating</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotating_8h_source.html#l00033">DatabaseRotating.h:33</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="ripple_2nodestore_2Scheduler_8h_source.html#l00060">ripple/nodestore/Scheduler.h:60</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a7c5d2c471c6ceac28c09bb729f377c0e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7c5d2c471c6ceac28c09bb729f377c0e">ripple::NodeStore::DatabaseRotatingImp::~DatabaseRotatingImp</a></div><div class="ttdeci">~DatabaseRotatingImp() override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00046">DatabaseRotatingImp.h:46</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_adb9c1d15c7638e1448be9f5a98563f6b"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#adb9c1d15c7638e1448be9f5a98563f6b">ripple::NodeStore::Database::stopReadThreads</a></div><div class="ttdeci">void stopReadThreads()</div><div class="ttdef"><b>Definition:</b> <a href="Database_8cpp_source.html#l00078">Database.cpp:78</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a7992d0dd009c5b855c331c73872c946d"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7992d0dd009c5b855c331c73872c946d">ripple::NodeStore::DatabaseRotatingImp::store</a></div><div class="ttdeci">void store(NodeObjectType type, Blob &amp;&amp;data, uint256 const &amp;hash, std::uint32_t) override</div><div class="ttdoc">Store the object.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00104">DatabaseRotatingImp.cpp:104</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends_html_a4f1561f76ce402f223faf00ba3396c4b"><div class="ttname"><a href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html#a4f1561f76ce402f223faf00ba3396c4b">ripple::NodeStore::DatabaseRotatingImp::Backends::writableBackend</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; const &amp; writableBackend</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00092">DatabaseRotatingImp.h:92</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a7992d0dd009c5b855c331c73872c946d"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7992d0dd009c5b855c331c73872c946d">ripple::NodeStore::DatabaseRotatingImp::store</a></div><div class="ttdeci">void store(NodeObjectType type, Blob &amp;&amp;data, uint256 const &amp;hash, std::uint32_t) override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00101">DatabaseRotatingImp.cpp:101</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_a60f48a153732ad494f553eded13438cb"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a60f48a153732ad494f553eded13438cb">ripple::NodeStore::DatabaseRotatingImp::operator=</a></div><div class="ttdeci">DatabaseRotatingImp &amp; operator=(DatabaseRotatingImp const &amp;)=delete</div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1DatabaseRotatingImp_1_1Backends.html">ripple::NodeStore::DatabaseRotatingImp::Backends</a></div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00090">DatabaseRotatingImp.h:90</a></div></div>
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_ac8dfef2dee29968270119971f4d60f94"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94">ripple::NodeStore::DatabaseRotatingImp::isSameDB</a></div><div class="ttdeci">bool isSameDB(std::uint32_t, std::uint32_t) override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00066">DatabaseRotatingImp.h:66</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_ac8dfef2dee29968270119971f4d60f94"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac8dfef2dee29968270119971f4d60f94">ripple::NodeStore::DatabaseRotatingImp::isSameDB</a></div><div class="ttdeci">bool isSameDB(std::uint32_t, std::uint32_t) override</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00063">DatabaseRotatingImp.h:63</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_aee99c67c55042890a37368f5d17620d4"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">ripple::NodeStore::DatabaseRotatingImp::for_each</a></div><div class="ttdeci">void for_each(std::function&lt; void(std::shared_ptr&lt; NodeObject &gt;)&gt; f) override</div><div class="ttdoc">Visit every object in the database This is usually called during import.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00200">DatabaseRotatingImp.cpp:200</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_acaa8e51a8678905a0b2d831154cc91b5"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5">ripple::NodeStore::DatabaseRotatingImp::writableBackend_</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; writableBackend_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00086">DatabaseRotatingImp.h:86</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_aee99c67c55042890a37368f5d17620d4"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">ripple::NodeStore::DatabaseRotatingImp::for_each</a></div><div class="ttdeci">void for_each(std::function&lt; void(std::shared_ptr&lt; NodeObject &gt;)&gt; f) override</div><div class="ttdoc">Visit every object in the database This is usually called during import.</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8cpp_source.html#l00197">DatabaseRotatingImp.cpp:197</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1DatabaseRotatingImp_html_acaa8e51a8678905a0b2d831154cc91b5"><div class="ttname"><a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5">ripple::NodeStore::DatabaseRotatingImp::writableBackend_</a></div><div class="ttdeci">std::shared_ptr&lt; Backend &gt; writableBackend_</div><div class="ttdef"><b>Definition:</b> <a href="DatabaseRotatingImp_8h_source.html#l00083">DatabaseRotatingImp.h:83</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">