Files
rippled/classripple_1_1NodeStore_1_1MemoryFactory.html
2025-05-29 21:00:28 +00:00

447 lines
26 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::NodeStore::MemoryFactory Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="namespaceripple_1_1NodeStore.html">NodeStore</a></li><li class="navelem"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html">MemoryFactory</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1NodeStore_1_1MemoryFactory-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::NodeStore::MemoryFactory Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for ripple::NodeStore::MemoryFactory:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStore_1_1MemoryFactory__inherit__graph.png" border="0" usemap="#aripple_1_1NodeStore_1_1MemoryFactory_inherit__map" alt="Inheritance graph"/></div>
<map name="aripple_1_1NodeStore_1_1MemoryFactory_inherit__map" id="aripple_1_1NodeStore_1_1MemoryFactory_inherit__map">
<area shape="rect" title=" " alt="" coords="5,93,148,133"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Factory.html" title="Base class for backend factories." alt="" coords="5,5,148,45"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::NodeStore::MemoryFactory:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStore_1_1MemoryFactory__coll__graph.png" border="0" usemap="#aripple_1_1NodeStore_1_1MemoryFactory_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1NodeStore_1_1MemoryFactory_coll__map" id="aripple_1_1NodeStore_1_1MemoryFactory_coll__map">
<area shape="rect" title=" " alt="" coords="2151,63,2293,103"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Factory.html" title="Base class for backend factories." alt="" coords="1878,5,2021,45"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="1334,91,1426,117"/>
<area shape="rect" href="structripple_1_1NodeStore_1_1MemoryDB.html" title=" " alt="" coords="1581,120,1724,160"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1837,121,2061,175"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="1609,185,1696,210"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="1311,168,1449,208"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1273,233,1487,287"/>
<area shape="rect" href="classripple_1_1base__uint.html" title="Integers of any length that is a multiple of 32&#45;bits." alt="" coords="513,219,655,259"/>
<area shape="rect" href="classripple_1_1NodeObject.html" title="A simple object that the Ledger uses to store entries." alt="" coords="764,298,907,323"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="261,326,349,351"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="221,219,389,259"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="5,226,108,251"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="989,275,1160,315"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="503,283,665,323"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="519,410,649,435"/>
<area shape="rect" title=" " alt="" coords="286,410,325,435"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a499570139059a31fc8e1d62ad1e1869f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a499570139059a31fc8e1d62ad1e1869f">MemoryFactory</a> ()</td></tr>
<tr class="separator:a499570139059a31fc8e1d62ad1e1869f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d3c6f7cf8d453e1a2457f75074e40e9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a6d3c6f7cf8d453e1a2457f75074e40e9">~MemoryFactory</a> () override</td></tr>
<tr class="separator:a6d3c6f7cf8d453e1a2457f75074e40e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b06b63f8f1bea3b8eb44d50de48da84"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84">getName</a> () const override</td></tr>
<tr class="memdesc:a1b06b63f8f1bea3b8eb44d50de48da84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the name of this factory. <a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a1b06b63f8f1bea3b8eb44d50de48da84">More...</a><br /></td></tr>
<tr class="separator:a1b06b63f8f1bea3b8eb44d50de48da84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a778cb89cf449fad1a11d81133377c68b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b">createInstance</a> (size_t keyBytes, <a class="el" href="classripple_1_1Section.html">Section</a> const &amp;keyValues, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="el" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>, <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> &amp;scheduler, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal) override</td></tr>
<tr class="memdesc:a778cb89cf449fad1a11d81133377c68b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an instance of this factory's backend. <a href="classripple_1_1NodeStore_1_1MemoryFactory.html#a778cb89cf449fad1a11d81133377c68b">More...</a><br /></td></tr>
<tr class="separator:a778cb89cf449fad1a11d81133377c68b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a939d7f0ddbe9bf2919bf7d5aecf65d54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a939d7f0ddbe9bf2919bf7d5aecf65d54">open</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;path)</td></tr>
<tr class="separator:a939d7f0ddbe9bf2919bf7d5aecf65d54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a881d753bb4f6017085271c3e16db2714"><td class="memItemLeft" align="right" valign="top">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">createInstance</a> (size_t keyBytes, <a class="el" href="classripple_1_1Section.html">Section</a> const &amp;parameters, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="el" href="namespaceripple.html#a1b38e742ac7fe4c3a80a397e06b83dcbaa62741f39e8a8d667ccccd0642c08746">burstSize</a>, <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> &amp;scheduler, nudb::context &amp;context, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> journal)</td></tr>
<tr class="memdesc:a881d753bb4f6017085271c3e16db2714"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an instance of this factory's backend. <a href="classripple_1_1NodeStore_1_1Factory.html#a881d753bb4f6017085271c3e16db2714">More...</a><br /></td></tr>
<tr class="separator:a881d753bb4f6017085271c3e16db2714"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aed56d3246c20509191dcddb12b5ceb00"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#aed56d3246c20509191dcddb12b5ceb00">mutex_</a></td></tr>
<tr class="separator:aed56d3246c20509191dcddb12b5ceb00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a257415e5b9a5d5ce389c27c1af732247"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt; <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, <a class="el" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a>, boost::beast::iless &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1MemoryFactory.html#a257415e5b9a5d5ce389c27c1af732247">map_</a></td></tr>
<tr class="separator:a257415e5b9a5d5ce389c27c1af732247"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00044">44</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a499570139059a31fc8e1d62ad1e1869f" name="a499570139059a31fc8e1d62ad1e1869f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a499570139059a31fc8e1d62ad1e1869f">&#9670;&#160;</a></span>MemoryFactory()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ripple::NodeStore::MemoryFactory::MemoryFactory </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00222">222</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<a id="a6d3c6f7cf8d453e1a2457f75074e40e9" name="a6d3c6f7cf8d453e1a2457f75074e40e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d3c6f7cf8d453e1a2457f75074e40e9">&#9670;&#160;</a></span>~MemoryFactory()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::NodeStore::MemoryFactory::~MemoryFactory </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00227">227</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a1b06b63f8f1bea3b8eb44d50de48da84" name="a1b06b63f8f1bea3b8eb44d50de48da84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b06b63f8f1bea3b8eb44d50de48da84">&#9670;&#160;</a></span>getName()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> ripple::NodeStore::MemoryFactory::getName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Retrieve the name of this factory. </p>
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Factory.html#a31f0b64f00ea5caba4a992494382e827">ripple::NodeStore::Factory</a>.</p>
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00233">233</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<a id="a778cb89cf449fad1a11d81133377c68b" name="a778cb89cf449fad1a11d81133377c68b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a778cb89cf449fad1a11d81133377c68b">&#9670;&#160;</a></span>createInstance() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> &gt; ripple::NodeStore::MemoryFactory::createInstance </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>keyBytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Section.html">Section</a> const &amp;&#160;</td>
<td class="paramname"><em>parameters</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td>
<td class="paramname"><em>burstSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> &amp;&#160;</td>
<td class="paramname"><em>scheduler</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create an instance of this factory's backend. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keyBytes</td><td>The fixed number of bytes per key. </td></tr>
<tr><td class="paramname">parameters</td><td>A set of key/value configuration pairs. </td></tr>
<tr><td class="paramname">burstSize</td><td><a class="el" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore.">Backend</a> burst size in bytes. </td></tr>
<tr><td class="paramname">scheduler</td><td>The scheduler to use for running tasks. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the <a class="el" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore.">Backend</a> object. </dd></dl>
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Factory.html#ab09ead0fbc88a5b1624cfefc6c9e4f7c">ripple::NodeStore::Factory</a>.</p>
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00239">239</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<a id="a939d7f0ddbe9bf2919bf7d5aecf65d54" name="a939d7f0ddbe9bf2919bf7d5aecf65d54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a939d7f0ddbe9bf2919bf7d5aecf65d54">&#9670;&#160;</a></span>open()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a> &amp; ripple::NodeStore::MemoryFactory::open </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>path</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00066">66</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<a id="a881d753bb4f6017085271c3e16db2714" name="a881d753bb4f6017085271c3e16db2714"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a881d753bb4f6017085271c3e16db2714">&#9670;&#160;</a></span>createInstance() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>&lt; <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> &gt; ripple::NodeStore::Factory::createInstance </td>
<td>(</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>keyBytes</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1Section.html">Section</a> const &amp;&#160;</td>
<td class="paramname"><em>parameters</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a>&#160;</td>
<td class="paramname"><em>burstSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> &amp;&#160;</td>
<td class="paramname"><em>scheduler</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">nudb::context &amp;&#160;</td>
<td class="paramname"><em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a>&#160;</td>
<td class="paramname"><em>journal</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create an instance of this factory's backend. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">keyBytes</td><td>The fixed number of bytes per key. </td></tr>
<tr><td class="paramname">parameters</td><td>A set of key/value configuration pairs. </td></tr>
<tr><td class="paramname">burstSize</td><td><a class="el" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore.">Backend</a> burst size in bytes. </td></tr>
<tr><td class="paramname">scheduler</td><td>The scheduler to use for running tasks. </td></tr>
<tr><td class="paramname">context</td><td>The context used by database. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the <a class="el" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore.">Backend</a> object. </dd></dl>
<p>Reimplemented in <a class="el" href="classripple_1_1NodeStore_1_1NuDBFactory.html#a0f37ad0f3ae7d6c4e857d94b812e5e95">ripple::NodeStore::NuDBFactory</a>.</p>
<p class="definition">Definition at line <a class="el" href="Factory_8h_source.html#l00071">71</a> of file <a class="el" href="Factory_8h_source.html">Factory.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aed56d3246c20509191dcddb12b5ceb00" name="aed56d3246c20509191dcddb12b5ceb00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed56d3246c20509191dcddb12b5ceb00">&#9670;&#160;</a></span>mutex_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> ripple::NodeStore::MemoryFactory::mutex_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00047">47</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
<a id="a257415e5b9a5d5ce389c27c1af732247" name="a257415e5b9a5d5ce389c27c1af732247"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a257415e5b9a5d5ce389c27c1af732247">&#9670;&#160;</a></span>map_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>&lt;<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>, <a class="el" href="structripple_1_1NodeStore_1_1MemoryDB.html">MemoryDB</a>, boost::beast::iless&gt; ripple::NodeStore::MemoryFactory::map_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="MemoryFactory_8cpp_source.html#l00048">48</a> of file <a class="el" href="MemoryFactory_8cpp_source.html">MemoryFactory.cpp</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>