mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
2963 lines
174 KiB
HTML
2963 lines
174 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">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>rippled: ripple::NodeStore::DatabaseRotatingImp 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 style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">rippled
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @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:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(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">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</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_1DatabaseRotatingImp.html">DatabaseRotatingImp</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pro-attribs">Protected Attributes</a> |
|
|
<a href="#pri-types">Private Types</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> |
|
|
<a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ripple::NodeStore::DatabaseRotatingImp Class Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<div class="dynheader">
|
|
Inheritance diagram for ripple::NodeStore::DatabaseRotatingImp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1NodeStore_1_1DatabaseRotatingImp__inherit__graph.png" border="0" usemap="#ripple_1_1NodeStore_1_1DatabaseRotatingImp_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="ripple_1_1NodeStore_1_1DatabaseRotatingImp_inherit__map" id="ripple_1_1NodeStore_1_1DatabaseRotatingImp_inherit__map">
|
|
<area shape="rect" title=" " alt="" coords="5,259,168,300"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1DatabaseRotating.html" title=" " alt="" coords="15,169,158,211"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="15,80,158,121"/>
|
|
<area shape="rect" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping." alt="" coords="21,5,153,32"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ripple::NodeStore::DatabaseRotatingImp:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classripple_1_1NodeStore_1_1DatabaseRotatingImp__coll__graph.png" border="0" usemap="#ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map" id="ripple_1_1NodeStore_1_1DatabaseRotatingImp_coll__map">
|
|
<area shape="rect" title=" " alt="" coords="2917,947,3080,989"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1DatabaseRotating.html" title=" " alt="" coords="2592,1047,2735,1089"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1Database.html" title="Persistency layer for NodeObject." alt="" coords="2123,1194,2265,1235"/>
|
|
<area shape="rect" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping." alt="" coords="1770,431,1902,457"/>
|
|
<area shape="rect" href="classripple_1_1RootStoppable.html" title=" " alt="" coords="2113,196,2275,223"/>
|
|
<area shape="rect" href="structripple_1_1Stoppable_1_1Child.html" title=" " alt="" coords="2124,506,2264,547"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1296,256,1449,283"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="1287,108,1458,135"/>
|
|
<area shape="rect" href="classripple_1_1ClosureCounter.html" title=" " alt="" coords="1753,62,1919,103"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title="STL class." alt="" coords="1327,369,1419,396"/>
|
|
<area shape="rect" href="classripple_1_1KeyCache.html" title=" " alt="" coords="1745,705,1927,746"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1301,15,1444,41"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title="STL class." alt="" coords="1329,623,1416,649"/>
|
|
<area shape="rect" href="classripple_1_1TaggedCache.html" title=" " alt="" coords="1755,940,1917,996"/>
|
|
<area shape="rect" href="classbeast_1_1LockFreeStack_1_1Node.html" title=" " alt="" coords="507,482,685,523"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="799,491,989,533"/>
|
|
<area shape="rect" href="classbeast_1_1LockFreeStack.html" title=" " alt="" coords="1293,427,1452,469"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="545,1504,647,1531"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1013,1504,1220,1531"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/array.html" title=" " alt="" coords="810,1394,978,1435"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/vector.html" title=" " alt="" coords="1741,1412,1931,1439"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/thread.html" title="STL class." alt="" coords="1327,1417,1419,1444"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="1765,1607,1907,1649"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="1302,1351,1443,1393"/>
|
|
<area shape="rect" href="classripple_1_1base__uint.html" title=" " alt="" coords="1302,1286,1443,1327"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="850,1251,938,1277"/>
|
|
<area shape="rect" href="structripple_1_1KeyCache_1_1Stats.html" title=" " alt="" coords="1285,673,1460,729"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1700,1211,1972,1325"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/utility/tuple.html" title=" " alt="" coords="1244,1162,1501,1262"/>
|
|
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="1317,1111,1428,1137"/>
|
|
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="821,1111,967,1137"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2575,1175,2752,1217"/>
|
|
<area shape="rect" href="classripple_1_1NodeStore_1_1Backend.html" title="A backend used for the NodeStore." alt="" coords="2123,1259,2265,1301"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2299,940,2551,996"/>
|
|
<area shape="rect" href="classbeast_1_1abstract__clock.html" title=" " alt="" coords="1292,849,1453,905"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="1321,1060,1424,1087"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html" title="STL class." alt="" coords="1293,929,1452,956"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/container/unordered_map.html" title=" " alt="" coords="1259,754,1486,825"/>
|
|
<area shape="rect" href="structripple_1_1TaggedCache_1_1Stats.html" title=" " alt="" coords="1277,980,1468,1036"/>
|
|
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="814,756,974,783"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="511,749,681,790"/>
|
|
<area shape="rect" href="classbeast_1_1insight_1_1GaugeImpl.html" title=" " alt="" coords="247,756,436,783"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="5,749,197,790"/>
|
|
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="818,907,970,933"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="511,899,681,941"/>
|
|
<area shape="rect" href="classbeast_1_1insight_1_1HookImpl.html" title=" " alt="" coords="251,907,432,933"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="9,899,193,941"/>
|
|
<area shape="rect" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="2332,828,2517,884"/>
|
|
</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 name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:ac82d8cd599ee29280d5cf6796ff01332"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac82d8cd599ee29280d5cf6796ff01332">DatabaseRotatingImp</a> ()=delete</td></tr>
|
|
<tr class="separator:ac82d8cd599ee29280d5cf6796ff01332"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3dafec245a95213c84d92fe81505c1c3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3dafec245a95213c84d92fe81505c1c3">DatabaseRotatingImp</a> (<a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> const &)=delete</td></tr>
|
|
<tr class="separator:a3dafec245a95213c84d92fe81505c1c3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a60f48a153732ad494f553eded13438cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a60f48a153732ad494f553eded13438cb">operator=</a> (<a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> const &)=delete</td></tr>
|
|
<tr class="separator:a60f48a153732ad494f553eded13438cb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a79d6fbc2afd580003f1af12e36875bdb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a79d6fbc2afd580003f1af12e36875bdb">DatabaseRotatingImp</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &name, <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> &scheduler, int readThreads, <a class="el" href="classripple_1_1Stoppable.html">Stoppable</a> &parent, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > writableBackend, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > archiveBackend, <a class="el" href="classripple_1_1Section.html">Section</a> const &config, <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> j)</td></tr>
|
|
<tr class="separator:a79d6fbc2afd580003f1af12e36875bdb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c5d2c471c6ceac28c09bb729f377c0e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a7c5d2c471c6ceac28c09bb729f377c0e">~DatabaseRotatingImp</a> () override</td></tr>
|
|
<tr class="separator:a7c5d2c471c6ceac28c09bb729f377c0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a76f256f68048bc81a0d034f7226387b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">rotateWithLock</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">NodeStore::Backend</a> >(<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &writableBackendName)> const &f) override</td></tr>
|
|
<tr class="memdesc:a76f256f68048bc81a0d034f7226387b8"><td class="mdescLeft"> </td><td class="mdescRight">Rotates the backends. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a76f256f68048bc81a0d034f7226387b8">More...</a><br /></td></tr>
|
|
<tr class="separator:a76f256f68048bc81a0d034f7226387b8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9c3f2d7e8b7e4cca14afe2177c1466b3"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">getName</a> () const override</td></tr>
|
|
<tr class="memdesc:a9c3f2d7e8b7e4cca14afe2177c1466b3"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the name associated with this backend. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a9c3f2d7e8b7e4cca14afe2177c1466b3">More...</a><br /></td></tr>
|
|
<tr class="separator:a9c3f2d7e8b7e4cca14afe2177c1466b3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3b006f7535475fd276bc30b77a1b4673"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::int32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">getWriteLoad</a> () const override</td></tr>
|
|
<tr class="memdesc:a3b006f7535475fd276bc30b77a1b4673"><td class="mdescLeft"> </td><td class="mdescRight">Retrieve the estimated number of pending write operations. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a3b006f7535475fd276bc30b77a1b4673">More...</a><br /></td></tr>
|
|
<tr class="separator:a3b006f7535475fd276bc30b77a1b4673"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae018381e1b62ed9c61ef8a82d1b3db47"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ae018381e1b62ed9c61ef8a82d1b3db47">import</a> (<a class="el" href="classripple_1_1NodeStore_1_1Database.html">Database</a> &source) override</td></tr>
|
|
<tr class="memdesc:ae018381e1b62ed9c61ef8a82d1b3db47"><td class="mdescLeft"> </td><td class="mdescRight">Import objects from another database. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ae018381e1b62ed9c61ef8a82d1b3db47">More...</a><br /></td></tr>
|
|
<tr class="separator:ae018381e1b62ed9c61ef8a82d1b3db47"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac573cc8f4c2949ad9c7fd2640a029044"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac573cc8f4c2949ad9c7fd2640a029044">store</a> (<a class="el" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">NodeObjectType</a> type, <a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a> &&data, <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) override</td></tr>
|
|
<tr class="memdesc:ac573cc8f4c2949ad9c7fd2640a029044"><td class="mdescLeft"> </td><td class="mdescRight">Store the object. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ac573cc8f4c2949ad9c7fd2640a029044">More...</a><br /></td></tr>
|
|
<tr class="separator:ac573cc8f4c2949ad9c7fd2640a029044"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a175a18a3c339ccc6e0ec2e6fafc6effb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a175a18a3c339ccc6e0ec2e6fafc6effb">fetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) override</td></tr>
|
|
<tr class="memdesc:a175a18a3c339ccc6e0ec2e6fafc6effb"><td class="mdescLeft"> </td><td class="mdescRight">Fetch an object. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a175a18a3c339ccc6e0ec2e6fafc6effb">More...</a><br /></td></tr>
|
|
<tr class="separator:a175a18a3c339ccc6e0ec2e6fafc6effb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae89e625356dc0fb84c741d7b7dc2fa0e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ae89e625356dc0fb84c741d7b7dc2fa0e">asyncFetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > &object) override</td></tr>
|
|
<tr class="memdesc:ae89e625356dc0fb84c741d7b7dc2fa0e"><td class="mdescLeft"> </td><td class="mdescRight">Fetch an object without waiting. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ae89e625356dc0fb84c741d7b7dc2fa0e">More...</a><br /></td></tr>
|
|
<tr class="separator:ae89e625356dc0fb84c741d7b7dc2fa0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a55502de7f83a364526263b38bc1fe709"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">storeLedger</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const > const &srcLedger) override</td></tr>
|
|
<tr class="memdesc:a55502de7f83a364526263b38bc1fe709"><td class="mdescLeft"> </td><td class="mdescRight">Copies a ledger stored in a different database to this one. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a55502de7f83a364526263b38bc1fe709">More...</a><br /></td></tr>
|
|
<tr class="separator:a55502de7f83a364526263b38bc1fe709"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5550c15039a303f7983fdeb323794f3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#af5550c15039a303f7983fdeb323794f3">getDesiredAsyncReadCount</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) override</td></tr>
|
|
<tr class="memdesc:af5550c15039a303f7983fdeb323794f3"><td class="mdescLeft"> </td><td class="mdescRight">Get the maximum number of async reads the node store prefers. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#af5550c15039a303f7983fdeb323794f3">More...</a><br /></td></tr>
|
|
<tr class="separator:af5550c15039a303f7983fdeb323794f3"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a47ae911df9c292c3c074e5c809759b58"><td class="memItemLeft" align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a47ae911df9c292c3c074e5c809759b58">getCacheHitRate</a> () override</td></tr>
|
|
<tr class="memdesc:a47ae911df9c292c3c074e5c809759b58"><td class="mdescLeft"> </td><td class="mdescRight">Get the positive cache hits to total attempts ratio. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a47ae911df9c292c3c074e5c809759b58">More...</a><br /></td></tr>
|
|
<tr class="separator:a47ae911df9c292c3c074e5c809759b58"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaf5cdba2bb5e1dde75cfe528bd81a541"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aaf5cdba2bb5e1dde75cfe528bd81a541">tune</a> (int size, <a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> age) override</td></tr>
|
|
<tr class="memdesc:aaf5cdba2bb5e1dde75cfe528bd81a541"><td class="mdescLeft"> </td><td class="mdescRight">Set the maximum number of entries and maximum cache age for both caches. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aaf5cdba2bb5e1dde75cfe528bd81a541">More...</a><br /></td></tr>
|
|
<tr class="separator:aaf5cdba2bb5e1dde75cfe528bd81a541"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa67b13515a70659f536b6d1cfeb1c2a2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">sweep</a> () override</td></tr>
|
|
<tr class="memdesc:aa67b13515a70659f536b6d1cfeb1c2a2"><td class="mdescLeft"> </td><td class="mdescRight">Remove expired entries from the positive and negative caches. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aa67b13515a70659f536b6d1cfeb1c2a2">More...</a><br /></td></tr>
|
|
<tr class="separator:aa67b13515a70659f536b6d1cfeb1c2a2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acddd9a9af871b683e79a35aabf87f8fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > const & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acddd9a9af871b683e79a35aabf87f8fa">getPositiveCache</a> () override</td></tr>
|
|
<tr class="separator:acddd9a9af871b683e79a35aabf87f8fa"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a332e25e0d08606b9eb501b9f83755dce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a332e25e0d08606b9eb501b9f83755dce">waitReads</a> ()</td></tr>
|
|
<tr class="memdesc:a332e25e0d08606b9eb501b9f83755dce"><td class="mdescLeft"> </td><td class="mdescRight">Wait for all currently pending async reads to complete. <a href="classripple_1_1NodeStore_1_1Database.html#a332e25e0d08606b9eb501b9f83755dce">More...</a><br /></td></tr>
|
|
<tr class="separator:a332e25e0d08606b9eb501b9f83755dce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a234e3772b5aa2fff5f6171488a4fea92"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a234e3772b5aa2fff5f6171488a4fea92">getStoreCount</a> () const</td></tr>
|
|
<tr class="memdesc:a234e3772b5aa2fff5f6171488a4fea92"><td class="mdescLeft"> </td><td class="mdescRight">Gather statistics pertaining to read and write activities. <a href="classripple_1_1NodeStore_1_1Database.html#a234e3772b5aa2fff5f6171488a4fea92">More...</a><br /></td></tr>
|
|
<tr class="separator:a234e3772b5aa2fff5f6171488a4fea92"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af32a551caa69e8108bdd9a9d74dd774e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#af32a551caa69e8108bdd9a9d74dd774e">getFetchTotalCount</a> () const</td></tr>
|
|
<tr class="separator:af32a551caa69e8108bdd9a9d74dd774e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad28a451b16bc693364a1074c0f767f1f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#ad28a451b16bc693364a1074c0f767f1f">getFetchHitCount</a> () const</td></tr>
|
|
<tr class="separator:ad28a451b16bc693364a1074c0f767f1f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9e7f0fc88e260118f5672935e3dc74d9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a9e7f0fc88e260118f5672935e3dc74d9">getStoreSize</a> () const</td></tr>
|
|
<tr class="separator:a9e7f0fc88e260118f5672935e3dc74d9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8ebb38ac8562f6b1673a9f3b8216efce"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a8ebb38ac8562f6b1673a9f3b8216efce">getFetchSize</a> () const</td></tr>
|
|
<tr class="separator:a8ebb38ac8562f6b1673a9f3b8216efce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aef142866cf7ca2a96d17efc55f8dcc19"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#aef142866cf7ca2a96d17efc55f8dcc19">fdRequired</a> () const</td></tr>
|
|
<tr class="memdesc:aef142866cf7ca2a96d17efc55f8dcc19"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of file descriptors the database expects to need. <a href="classripple_1_1NodeStore_1_1Database.html#aef142866cf7ca2a96d17efc55f8dcc19">More...</a><br /></td></tr>
|
|
<tr class="separator:aef142866cf7ca2a96d17efc55f8dcc19"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0923c37ede6c7ffeca02f59f566cf588"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a0923c37ede6c7ffeca02f59f566cf588">onStop</a> () override</td></tr>
|
|
<tr class="memdesc:a0923c37ede6c7ffeca02f59f566cf588"><td class="mdescLeft"> </td><td class="mdescRight">Override called when the stop notification is issued. <a href="classripple_1_1NodeStore_1_1Database.html#a0923c37ede6c7ffeca02f59f566cf588">More...</a><br /></td></tr>
|
|
<tr class="separator:a0923c37ede6c7ffeca02f59f566cf588"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae84b30410af69ec7e7adcdb6265a4af8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#ae84b30410af69ec7e7adcdb6265a4af8">onChildrenStopped</a> () override</td></tr>
|
|
<tr class="memdesc:ae84b30410af69ec7e7adcdb6265a4af8"><td class="mdescLeft"> </td><td class="mdescRight">Override called when all children have stopped. <a href="classripple_1_1NodeStore_1_1Database.html#ae84b30410af69ec7e7adcdb6265a4af8">More...</a><br /></td></tr>
|
|
<tr class="separator:ae84b30410af69ec7e7adcdb6265a4af8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51f2d9197ceae15155509404ce09d9a7"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a51f2d9197ceae15155509404ce09d9a7">earliestLedgerSeq</a> () const</td></tr>
|
|
<tr class="separator:a51f2d9197ceae15155509404ce09d9a7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae9b6cb02b4e1128bd2c4e1a81c9d695c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RootStoppable.html">RootStoppable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#ae9b6cb02b4e1128bd2c4e1a81c9d695c">getRoot</a> ()</td></tr>
|
|
<tr class="separator:ae9b6cb02b4e1128bd2c4e1a81c9d695c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adea135697761febf430a8628814c7902"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#adea135697761febf430a8628814c7902">setParent</a> (<a class="el" href="classripple_1_1Stoppable.html">Stoppable</a> &parent)</td></tr>
|
|
<tr class="memdesc:adea135697761febf430a8628814c7902"><td class="mdescLeft"> </td><td class="mdescRight">Set the parent of this <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a>. <a href="classripple_1_1Stoppable.html#adea135697761febf430a8628814c7902">More...</a><br /></td></tr>
|
|
<tr class="separator:adea135697761febf430a8628814c7902"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a836b8737444ef1133c3596e61010fa80"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a836b8737444ef1133c3596e61010fa80">isStopping</a> () const</td></tr>
|
|
<tr class="memdesc:a836b8737444ef1133c3596e61010fa80"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the stoppable should stop. <a href="classripple_1_1Stoppable.html#a836b8737444ef1133c3596e61010fa80">More...</a><br /></td></tr>
|
|
<tr class="separator:a836b8737444ef1133c3596e61010fa80"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af1e1447ecb573d2341c8a71afd3e76da"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#af1e1447ecb573d2341c8a71afd3e76da">isStopped</a> () const</td></tr>
|
|
<tr class="memdesc:af1e1447ecb573d2341c8a71afd3e76da"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if the requested stop has completed. <a href="classripple_1_1Stoppable.html#af1e1447ecb573d2341c8a71afd3e76da">More...</a><br /></td></tr>
|
|
<tr class="separator:af1e1447ecb573d2341c8a71afd3e76da"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9ec6fda89ff8bc63251a9c3682311e5d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a9ec6fda89ff8bc63251a9c3682311e5d">areChildrenStopped</a> () const</td></tr>
|
|
<tr class="memdesc:a9ec6fda89ff8bc63251a9c3682311e5d"><td class="mdescLeft"> </td><td class="mdescRight">Returns <code>true</code> if all children have stopped. <a href="classripple_1_1Stoppable.html#a9ec6fda89ff8bc63251a9c3682311e5d">More...</a><br /></td></tr>
|
|
<tr class="separator:a9ec6fda89ff8bc63251a9c3682311e5d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acc824cd8bdcffbac3c919c7e6009dea5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#adf17c8e58c57ecf0ed6cbc7ee1c2ab22">JobCounter</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#acc824cd8bdcffbac3c919c7e6009dea5">jobCounter</a> ()</td></tr>
|
|
<tr class="separator:acc824cd8bdcffbac3c919c7e6009dea5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aca4a925fd0df7e3a3bca51c9593e6a6e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#aca4a925fd0df7e3a3bca51c9593e6a6e">alertable_sleep_until</a> (std::chrono::system_clock::time_point const &t)</td></tr>
|
|
<tr class="memdesc:aca4a925fd0df7e3a3bca51c9593e6a6e"><td class="mdescLeft"> </td><td class="mdescRight">Sleep or wake up on stop. <a href="classripple_1_1Stoppable.html#aca4a925fd0df7e3a3bca51c9593e6a6e">More...</a><br /></td></tr>
|
|
<tr class="separator:aca4a925fd0df7e3a3bca51c9593e6a6e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr class="memitem:a693ce912541163f3c6d6eed5bc0ece3e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a693ce912541163f3c6d6eed5bc0ece3e">asyncFetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >> const &pCache, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> >> const &nCache)</td></tr>
|
|
<tr class="separator:a693ce912541163f3c6d6eed5bc0ece3e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa823fdabd249fb54e2e2789c5e550ac9"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#aa823fdabd249fb54e2e2789c5e550ac9">storeLedger</a> (<a class="el" href="classripple_1_1Ledger.html">Ledger</a> const &srcLedger, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > dstBackend, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >> dstPCache, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> >> dstNCache, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const > next)</td></tr>
|
|
<tr class="separator:aa823fdabd249fb54e2e2789c5e550ac9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab8f5eeb95d1166af47301d041b3063f2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#ab8f5eeb95d1166af47301d041b3063f2">stopThreads</a> ()</td></tr>
|
|
<tr class="separator:ab8f5eeb95d1166af47301d041b3063f2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa3570fbe5e933011616c7662961de3e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#aa3570fbe5e933011616c7662961de3e5">storeStats</a> (size_t sz)</td></tr>
|
|
<tr class="separator:aa3570fbe5e933011616c7662961de3e5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a109754c4bed6627ba778fa84244177a4"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a109754c4bed6627ba778fa84244177a4">fetchInternal</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > backend)</td></tr>
|
|
<tr class="separator:a109754c4bed6627ba778fa84244177a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af885d9fe877259a258481f0df20697cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#af885d9fe877259a258481f0df20697cd">importInternal</a> (<a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> &dstBackend, <a class="el" href="classripple_1_1NodeStore_1_1Database.html">Database</a> &srcDB)</td></tr>
|
|
<tr class="separator:af885d9fe877259a258481f0df20697cd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1eb657a3b7c4b409f9640b82c11ed89e"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a1eb657a3b7c4b409f9640b82c11ed89e">doFetch</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq, <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > &pCache, <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > &nCache, bool isAsync)</td></tr>
|
|
<tr class="separator:a1eb657a3b7c4b409f9640b82c11ed89e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a65a95f9c14637491df60d3a07518fa09"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a65a95f9c14637491df60d3a07518fa09">stopped</a> ()</td></tr>
|
|
<tr class="memdesc:a65a95f9c14637491df60d3a07518fa09"><td class="mdescLeft"> </td><td class="mdescRight">Called by derived classes to indicate that the stoppable has stopped. <a href="classripple_1_1Stoppable.html#a65a95f9c14637491df60d3a07518fa09">More...</a><br /></td></tr>
|
|
<tr class="separator:a65a95f9c14637491df60d3a07518fa09"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
|
|
Protected Attributes</h2></td></tr>
|
|
<tr class="memitem:a0d7c3d303adce36199b2c67c4df8a2de"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a0d7c3d303adce36199b2c67c4df8a2de">j_</a></td></tr>
|
|
<tr class="separator:a0d7c3d303adce36199b2c67c4df8a2de"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0e5bc58351ded4683d7207383794a484"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a0e5bc58351ded4683d7207383794a484">scheduler_</a></td></tr>
|
|
<tr class="separator:a0e5bc58351ded4683d7207383794a484"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a730a87cf8b617a8afb30e2531ede0f81"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a730a87cf8b617a8afb30e2531ede0f81">fdRequired_</a> {0}</td></tr>
|
|
<tr class="separator:a730a87cf8b617a8afb30e2531ede0f81"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
|
|
Private Types</h2></td></tr>
|
|
<tr class="memitem:a43594a8835ccb53d7b80983694d26cad"><td class="memItemLeft" align="right" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a43594a8835ccb53d7b80983694d26cad">Children</a> = <a class="el" href="classbeast_1_1LockFreeStack.html">beast::LockFreeStack</a>< <a class="el" href="structripple_1_1Stoppable_1_1Child.html">Child</a> ></td></tr>
|
|
<tr class="separator:a43594a8835ccb53d7b80983694d26cad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr class="memitem:ab0571f6e63778adc6379cb263a6f21f6"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ab0571f6e63778adc6379cb263a6f21f6">fetchFrom</a> (<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const &hash, <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> seq) override</td></tr>
|
|
<tr class="separator:ab0571f6e63778adc6379cb263a6f21f6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aee99c67c55042890a37368f5d17620d4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">for_each</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< void(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >)> f) override</td></tr>
|
|
<tr class="memdesc:aee99c67c55042890a37368f5d17620d4"><td class="mdescLeft"> </td><td class="mdescRight">Visit every object in the database This is usually called during import. <a href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#aee99c67c55042890a37368f5d17620d4">More...</a><br /></td></tr>
|
|
<tr class="separator:aee99c67c55042890a37368f5d17620d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c4180512ff87a967de8091a019dc9f9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a7c4180512ff87a967de8091a019dc9f9">threadEntry</a> ()</td></tr>
|
|
<tr class="separator:a7c4180512ff87a967de8091a019dc9f9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab2a5544b4bfc0dccdc6a2a46f6ff5d84"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#ab2a5544b4bfc0dccdc6a2a46f6ff5d84">onPrepare</a> ()</td></tr>
|
|
<tr class="memdesc:ab2a5544b4bfc0dccdc6a2a46f6ff5d84"><td class="mdescLeft"> </td><td class="mdescRight">Override called during preparation. <a href="classripple_1_1Stoppable.html#ab2a5544b4bfc0dccdc6a2a46f6ff5d84">More...</a><br /></td></tr>
|
|
<tr class="separator:ab2a5544b4bfc0dccdc6a2a46f6ff5d84"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0f24b7fcb7e8679dfd3783e9ffe3bbde"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a0f24b7fcb7e8679dfd3783e9ffe3bbde">onStart</a> ()</td></tr>
|
|
<tr class="memdesc:a0f24b7fcb7e8679dfd3783e9ffe3bbde"><td class="mdescLeft"> </td><td class="mdescRight">Override called during start. <a href="classripple_1_1Stoppable.html#a0f24b7fcb7e8679dfd3783e9ffe3bbde">More...</a><br /></td></tr>
|
|
<tr class="separator:a0f24b7fcb7e8679dfd3783e9ffe3bbde"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a390c62d40a1ca754dfb2de4befa02b0d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a390c62d40a1ca754dfb2de4befa02b0d">prepareRecursive</a> ()</td></tr>
|
|
<tr class="separator:a390c62d40a1ca754dfb2de4befa02b0d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab53b667e9786bed2c10dd3fcd02b517f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#ab53b667e9786bed2c10dd3fcd02b517f">startRecursive</a> ()</td></tr>
|
|
<tr class="separator:ab53b667e9786bed2c10dd3fcd02b517f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a34ddbefa8dda0aab52b8ecf493833d62"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a34ddbefa8dda0aab52b8ecf493833d62">stopAsyncRecursive</a> (<a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> j)</td></tr>
|
|
<tr class="separator:a34ddbefa8dda0aab52b8ecf493833d62"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a294e4d3874e76f53a443cb4df306913f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a294e4d3874e76f53a443cb4df306913f">stopRecursive</a> (<a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> j)</td></tr>
|
|
<tr class="separator:a294e4d3874e76f53a443cb4df306913f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr class="memitem:ad8ffa795b9c94db42da3548719e3d125"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ad8ffa795b9c94db42da3548719e3d125">pCache_</a></td></tr>
|
|
<tr class="separator:ad8ffa795b9c94db42da3548719e3d125"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a679d869332ca5983aeb5f84e5ad710b2"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a679d869332ca5983aeb5f84e5ad710b2">nCache_</a></td></tr>
|
|
<tr class="separator:a679d869332ca5983aeb5f84e5ad710b2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acaa8e51a8678905a0b2d831154cc91b5"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#acaa8e51a8678905a0b2d831154cc91b5">writableBackend_</a></td></tr>
|
|
<tr class="separator:acaa8e51a8678905a0b2d831154cc91b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a44b1eace70e02649d16668ca920531cb"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a44b1eace70e02649d16668ca920531cb">archiveBackend_</a></td></tr>
|
|
<tr class="separator:a44b1eace70e02649d16668ca920531cb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4d803c36c8aea67c83f735814de25717"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#a4d803c36c8aea67c83f735814de25717">mutex_</a></td></tr>
|
|
<tr class="separator:a4d803c36c8aea67c83f735814de25717"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a743a610ca48e4585fc4fecda6c52d311"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a743a610ca48e4585fc4fecda6c52d311">storeCount_</a> {0}</td></tr>
|
|
<tr class="separator:a743a610ca48e4585fc4fecda6c52d311"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a53935eeab8c4e74a956fd3d70c85a35b"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a53935eeab8c4e74a956fd3d70c85a35b">fetchTotalCount_</a> {0}</td></tr>
|
|
<tr class="separator:a53935eeab8c4e74a956fd3d70c85a35b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a89497b9b4c5530b58040931489015d30"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a89497b9b4c5530b58040931489015d30">fetchHitCount_</a> {0}</td></tr>
|
|
<tr class="separator:a89497b9b4c5530b58040931489015d30"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b5b290bf11d892a23a53e3e3beb2cfe"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a5b5b290bf11d892a23a53e3e3beb2cfe">storeSz_</a> {0}</td></tr>
|
|
<tr class="separator:a5b5b290bf11d892a23a53e3e3beb2cfe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a04150d23aa2acaf016d4ca40bd10804a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a04150d23aa2acaf016d4ca40bd10804a">fetchSz_</a> {0}</td></tr>
|
|
<tr class="separator:a04150d23aa2acaf016d4ca40bd10804a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a06fbf66d1f34a6162a17daf72e71eba9"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a06fbf66d1f34a6162a17daf72e71eba9">readLock_</a></td></tr>
|
|
<tr class="separator:a06fbf66d1f34a6162a17daf72e71eba9"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a438af3c0eba7891bb79d5c5dcb902556"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html">std::condition_variable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a438af3c0eba7891bb79d5c5dcb902556">readCondVar_</a></td></tr>
|
|
<tr class="separator:a438af3c0eba7891bb79d5c5dcb902556"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6af5c13598349c55003f520267e514c1"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html">std::condition_variable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a6af5c13598349c55003f520267e514c1">readGenCondVar_</a></td></tr>
|
|
<tr class="separator:a6af5c13598349c55003f520267e514c1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a20ecfe20206f927e8e6d6631053bd60d"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > >, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > > > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a20ecfe20206f927e8e6d6631053bd60d">read_</a></td></tr>
|
|
<tr class="separator:a20ecfe20206f927e8e6d6631053bd60d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afe98ed8463413de1a92d439cc1aebb35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#afe98ed8463413de1a92d439cc1aebb35">readLastHash_</a></td></tr>
|
|
<tr class="separator:afe98ed8463413de1a92d439cc1aebb35"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad769f906ab9351dc6c4fa166b3937e1c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/thread/thread.html">std::thread</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#ad769f906ab9351dc6c4fa166b3937e1c">readThreads_</a></td></tr>
|
|
<tr class="separator:ad769f906ab9351dc6c4fa166b3937e1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0056efda3dfb01158eece68b05c98c2d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#a0056efda3dfb01158eece68b05c98c2d">readShut_</a> {false}</td></tr>
|
|
<tr class="separator:a0056efda3dfb01158eece68b05c98c2d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb20e114f931da87b2d25e8e1b1fe4ca"><td class="memItemLeft" align="right" valign="top">uint64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#adb20e114f931da87b2d25e8e1b1fe4ca">readGen_</a> {0}</td></tr>
|
|
<tr class="separator:adb20e114f931da87b2d25e8e1b1fe4ca"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa59aca23acd391245f0b403df74ac8be"><td class="memItemLeft" align="right" valign="top">const <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStore_1_1Database.html#aa59aca23acd391245f0b403df74ac8be">earliestLedgerSeq_</a></td></tr>
|
|
<tr class="separator:aa59aca23acd391245f0b403df74ac8be"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3bee0684bbf67bc8c2f974cc30523cea"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a3bee0684bbf67bc8c2f974cc30523cea">m_name</a></td></tr>
|
|
<tr class="separator:a3bee0684bbf67bc8c2f974cc30523cea"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3a889a7b2e1b4c0fd463c51abfaa0ee0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1RootStoppable.html">RootStoppable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a3a889a7b2e1b4c0fd463c51abfaa0ee0">m_root</a></td></tr>
|
|
<tr class="separator:a3a889a7b2e1b4c0fd463c51abfaa0ee0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab9ece0159fb3954819b6b6f1672ac2e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structripple_1_1Stoppable_1_1Child.html">Child</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#ab9ece0159fb3954819b6b6f1672ac2e4">m_child</a></td></tr>
|
|
<tr class="separator:ab9ece0159fb3954819b6b6f1672ac2e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9d39131e97d8faa6beb1d36eab19dc2f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a9d39131e97d8faa6beb1d36eab19dc2f">m_stopped</a> {false}</td></tr>
|
|
<tr class="separator:a9d39131e97d8faa6beb1d36eab19dc2f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8c1e09326ea6d61009b6630c9e297c89"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a8c1e09326ea6d61009b6630c9e297c89">m_childrenStopped</a> {false}</td></tr>
|
|
<tr class="separator:a8c1e09326ea6d61009b6630c9e297c89"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adc549cdc2b0ebef1878e6d79c496be4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1Stoppable.html#a43594a8835ccb53d7b80983694d26cad">Children</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#adc549cdc2b0ebef1878e6d79c496be4d">m_children</a></td></tr>
|
|
<tr class="separator:adc549cdc2b0ebef1878e6d79c496be4d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3c9a256ee2a1f891a042dda5c89360c0"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html">std::condition_variable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a3c9a256ee2a1f891a042dda5c89360c0">m_cv</a></td></tr>
|
|
<tr class="separator:a3c9a256ee2a1f891a042dda5c89360c0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afb1038efa534f43ebbd76db775592aaf"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/thread/mutex.html">std::mutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#afb1038efa534f43ebbd76db775592aaf">m_mut</a></td></tr>
|
|
<tr class="separator:afb1038efa534f43ebbd76db775592aaf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a12f304b9baab521c4f5f8291485f1391"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a12f304b9baab521c4f5f8291485f1391">m_is_stopping</a> = false</td></tr>
|
|
<tr class="separator:a12f304b9baab521c4f5f8291485f1391"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1538bf3e4636b78efa3d30a5596eddf7"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1Stoppable.html#a1538bf3e4636b78efa3d30a5596eddf7">hasParent_</a> {false}</td></tr>
|
|
<tr class="separator:a1538bf3e4636b78efa3d30a5596eddf7"><td class="memSeparator" colspan="2"> </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="DatabaseRotatingImp_8h_source.html#l00028">28</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Typedef Documentation</h2>
|
|
<a id="a43594a8835ccb53d7b80983694d26cad"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a43594a8835ccb53d7b80983694d26cad">◆ </a></span>Children</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">using <a class="el" href="classripple_1_1Stoppable.html#a43594a8835ccb53d7b80983694d26cad">ripple::Stoppable::Children</a> = <a class="el" href="classbeast_1_1LockFreeStack.html">beast::LockFreeStack</a><<a class="el" href="structripple_1_1Stoppable_1_1Child.html">Child</a>></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00319">319</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="ac82d8cd599ee29280d5cf6796ff01332"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac82d8cd599ee29280d5cf6796ff01332">◆ </a></span>DatabaseRotatingImp() <span class="overload">[1/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::NodeStore::DatabaseRotatingImp::DatabaseRotatingImp </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3dafec245a95213c84d92fe81505c1c3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3dafec245a95213c84d92fe81505c1c3">◆ </a></span>DatabaseRotatingImp() <span class="overload">[2/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::NodeStore::DatabaseRotatingImp::DatabaseRotatingImp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> const & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a79d6fbc2afd580003f1af12e36875bdb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a79d6fbc2afd580003f1af12e36875bdb">◆ </a></span>DatabaseRotatingImp() <span class="overload">[3/3]</span></h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::NodeStore::DatabaseRotatingImp::DatabaseRotatingImp </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const & </td>
|
|
<td class="paramname"><em>name</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> & </td>
|
|
<td class="paramname"><em>scheduler</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>readThreads</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Stoppable.html">Stoppable</a> & </td>
|
|
<td class="paramname"><em>parent</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td>
|
|
<td class="paramname"><em>writableBackend</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td>
|
|
<td class="paramname"><em>archiveBackend</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Section.html">Section</a> const & </td>
|
|
<td class="paramname"><em>config</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> </td>
|
|
<td class="paramname"><em>j</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00027">27</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c5d2c471c6ceac28c09bb729f377c0e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c5d2c471c6ceac28c09bb729f377c0e">◆ </a></span>~DatabaseRotatingImp()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ripple::NodeStore::DatabaseRotatingImp::~DatabaseRotatingImp </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="DatabaseRotatingImp_8h_source.html#l00046">46</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a60f48a153732ad494f553eded13438cb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a60f48a153732ad494f553eded13438cb">◆ </a></span>operator=()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a>& ripple::NodeStore::DatabaseRotatingImp::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html">DatabaseRotatingImp</a> const & </td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">delete</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a76f256f68048bc81a0d034f7226387b8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a76f256f68048bc81a0d034f7226387b8">◆ </a></span>rotateWithLock()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::rotateWithLock </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">NodeStore::Backend</a> >(<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &writableBackendName)> const & </td>
|
|
<td class="paramname"><em>f</em></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>Rotates the backends. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">f</td><td>A function executed before the rotation and under the same lock </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotating.html#ae436a072e5a6068e819776a53fc0ab25">ripple::NodeStore::DatabaseRotating</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00059">59</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9c3f2d7e8b7e4cca14afe2177c1466b3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9c3f2d7e8b7e4cca14afe2177c1466b3">◆ </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::DatabaseRotatingImp::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 associated with this backend. </p>
|
|
<p>This is used for diagnostics and may not reflect the actual path or paths used by the underlying backend. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a24f47bc48e8d040c662611674898fe2e">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00072">72</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3b006f7535475fd276bc30b77a1b4673"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3b006f7535475fd276bc30b77a1b4673">◆ </a></span>getWriteLoad()</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/types/integer.html">std::int32_t</a> ripple::NodeStore::DatabaseRotatingImp::getWriteLoad </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 estimated number of pending write operations. </p>
|
|
<p>This is used for diagnostics. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#aada6493667fd17dd426f6545bf4cac93">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00079">79</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae018381e1b62ed9c61ef8a82d1b3db47"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae018381e1b62ed9c61ef8a82d1b3db47">◆ </a></span>import()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::import </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1Database.html">Database</a> & </td>
|
|
<td class="paramname"><em>source</em></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>Import objects from another database. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#ac1946e6706aecab34d6ea2207a33f6bc">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00086">86</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ac573cc8f4c2949ad9c7fd2640a029044"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ac573cc8f4c2949ad9c7fd2640a029044">◆ </a></span>store()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::store </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">NodeObjectType</a> </td>
|
|
<td class="paramname"><em>type</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#ab1f2184bb5938b5508798cd47a561a21">Blob</a> && </td>
|
|
<td class="paramname"><em>data</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em> </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>Store the object. </p>
|
|
<p>The caller's Blob parameter is overwritten.</p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">type</td><td>The type of object. </td></tr>
|
|
<tr><td class="paramname">data</td><td>The payload of the object. The caller's variable is overwritten. </td></tr>
|
|
<tr><td class="paramname">hash</td><td>The 256-bit hash of the payload data. </td></tr>
|
|
<tr><td class="paramname">seq</td><td>The sequence of the ledger the object belongs to.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the object was stored? </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#af7e6b59a295358a7c583895200b57f56">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00109">109</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a175a18a3c339ccc6e0ec2e6fafc6effb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a175a18a3c339ccc6e0ec2e6fafc6effb">◆ </a></span>fetch()</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/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1NodeObject.html">NodeObject</a>> ripple::NodeStore::DatabaseRotatingImp::fetch </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em> </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>Fetch an object. </p>
|
|
<p>If the object is known to be not in the database, isn't found in the database during the fetch, or failed to load correctly during the fetch, <code>nullptr</code> is returned.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>This can be called concurrently. </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">hash</td><td>The key of the object to retrieve. </td></tr>
|
|
<tr><td class="paramname">seq</td><td>The sequence of the ledger where the object is stored. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The object, or nullptr if it couldn't be retrieved. </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a530e5792a51146d9f81c92bad1fd932a">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8h_source.html#l00074">74</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae89e625356dc0fb84c741d7b7dc2fa0e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae89e625356dc0fb84c741d7b7dc2fa0e">◆ </a></span>asyncFetch() <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">bool ripple::NodeStore::DatabaseRotatingImp::asyncFetch </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > & </td>
|
|
<td class="paramname"><em>object</em> </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>Fetch an object without waiting. </p>
|
|
<p>If I/O is required to determine whether or not the object is present, <code>false</code> is returned. Otherwise, <code>true</code> is returned and <code>object</code> is set to refer to the object, or <code>nullptr</code> if the object is not present. If I/O is required, the I/O is scheduled.</p>
|
|
<dl class="section note"><dt>Note</dt><dd>This can be called concurrently. </dd></dl>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">hash</td><td>The key of the object to retrieve </td></tr>
|
|
<tr><td class="paramname">seq</td><td>The sequence of the ledger where the object is stored. </td></tr>
|
|
<tr><td class="paramname">object</td><td>The object retrieved </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>Whether the operation completed </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a44b4880cc7028c8171c4a901381ba21e">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00129">129</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a55502de7f83a364526263b38bc1fe709"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a55502de7f83a364526263b38bc1fe709">◆ </a></span>storeLedger() <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">bool ripple::NodeStore::DatabaseRotatingImp::storeLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const > const & </td>
|
|
<td class="paramname"><em>srcLedger</em></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>Copies a ledger stored in a different database to this one. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">ledger</td><td>The ledger to copy. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>true if the operation was successful </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#aad7aa12d0cc01006120761d23312d428">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00097">97</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af5550c15039a303f7983fdeb323794f3"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af5550c15039a303f7983fdeb323794f3">◆ </a></span>getDesiredAsyncReadCount()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ripple::NodeStore::DatabaseRotatingImp::getDesiredAsyncReadCount </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em></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>Get the maximum number of async reads the node store prefers. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">seq</td><td>A ledger sequence specifying a shard to query. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="section return"><dt>Returns</dt><dd>The number of async reads preferred. </dd></dl>
|
|
<dl class="section note"><dt>Note</dt><dd>The sequence is only used with the shard store. </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a4cf9f8fa6b90b740efebfccd7d12ec04">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8h_source.html#l00089">89</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a47ae911df9c292c3c074e5c809759b58"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a47ae911df9c292c3c074e5c809759b58">◆ </a></span>getCacheHitRate()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">float ripple::NodeStore::DatabaseRotatingImp::getCacheHitRate </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 class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Get the positive cache hits to total attempts ratio. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a105cc1993a6e21fa10b5f35ec837ac89">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8h_source.html#l00098">98</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaf5cdba2bb5e1dde75cfe528bd81a541"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaf5cdba2bb5e1dde75cfe528bd81a541">◆ </a></span>tune()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::tune </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>size</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/chrono/duration.html">std::chrono::seconds</a> </td>
|
|
<td class="paramname"><em>age</em> </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>Set the maximum number of entries and maximum cache age for both caches. </p>
|
|
<dl class="params"><dt>Parameters</dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramname">size</td><td>Number of cache entries (0 = ignore) </td></tr>
|
|
<tr><td class="paramname">age</td><td>Maximum cache age in seconds </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a3805d90fbd3ccdaec2a4c7c4ab109eac">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00145">145</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa67b13515a70659f536b6d1cfeb1c2a2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa67b13515a70659f536b6d1cfeb1c2a2">◆ </a></span>sweep()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::sweep </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 class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Remove expired entries from the positive and negative caches. </p>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a40a0e5a30857e9ba3c7561748af31e29">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00154">154</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acddd9a9af871b683e79a35aabf87f8fa"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acddd9a9af871b683e79a35aabf87f8fa">◆ </a></span>getPositiveCache()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a>> const& ripple::NodeStore::DatabaseRotatingImp::getPositiveCache </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 class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotating.html#a59d35cbe897af7c0f9f55f97b77e3046">ripple::NodeStore::DatabaseRotating</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8h_source.html#l00110">110</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab0571f6e63778adc6379cb263a6f21f6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab0571f6e63778adc6379cb263a6f21f6">◆ </a></span>fetchFrom()</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/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > ripple::NodeStore::DatabaseRotatingImp::fetchFrom </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em> </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">private</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a7a4466bf521bdf460d959227e0f08c52">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00161">161</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aee99c67c55042890a37368f5d17620d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aee99c67c55042890a37368f5d17620d4">◆ </a></span>for_each()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::DatabaseRotatingImp::for_each </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>< void(<a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >)> </td>
|
|
<td class="paramname"><em>f</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">private</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Visit every object in the database This is usually called during import. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>This routine will not be called concurrently with itself or other methods. </dd></dl>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classripple_1_1NodeStore_1_1DatabaseRotatingImp.html#ae018381e1b62ed9c61ef8a82d1b3db47" title="Import objects from another database.">import</a> </dd></dl>
|
|
|
|
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Database.html#a2b5174a0ffb315030b96815d6ac86eaf">ripple::NodeStore::Database</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8cpp_source.html#l00191">191</a> of file <a class="el" href="DatabaseRotatingImp_8cpp_source.html">DatabaseRotatingImp.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a693ce912541163f3c6d6eed5bc0ece3e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a693ce912541163f3c6d6eed5bc0ece3e">◆ </a></span>asyncFetch() <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">void ripple::NodeStore::Database::asyncFetch </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >> const & </td>
|
|
<td class="paramname"><em>pCache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> >> const & </td>
|
|
<td class="paramname"><em>nCache</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00110">110</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa823fdabd249fb54e2e2789c5e550ac9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa823fdabd249fb54e2e2789c5e550ac9">◆ </a></span>storeLedger() <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">bool ripple::NodeStore::Database::storeLedger </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Ledger.html">Ledger</a> const & </td>
|
|
<td class="paramname"><em>srcLedger</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td>
|
|
<td class="paramname"><em>dstBackend</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> >> </td>
|
|
<td class="paramname"><em>dstPCache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> >> </td>
|
|
<td class="paramname"><em>dstNCache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1Ledger.html">Ledger</a> const > </td>
|
|
<td class="paramname"><em>next</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00230">230</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a332e25e0d08606b9eb501b9f83755dce"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a332e25e0d08606b9eb501b9f83755dce">◆ </a></span>waitReads()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::waitReads </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Wait for all currently pending async reads to complete. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00061">61</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a234e3772b5aa2fff5f6171488a4fea92"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a234e3772b5aa2fff5f6171488a4fea92">◆ </a></span>getStoreCount()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::getStoreCount </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Gather statistics pertaining to read and write activities. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd>The total read and written bytes. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00191">191</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af32a551caa69e8108bdd9a9d74dd774e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af32a551caa69e8108bdd9a9d74dd774e">◆ </a></span>getFetchTotalCount()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::getFetchTotalCount </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00197">197</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad28a451b16bc693364a1074c0f767f1f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad28a451b16bc693364a1074c0f767f1f">◆ </a></span>getFetchHitCount()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::getFetchHitCount </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00203">203</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9e7f0fc88e260118f5672935e3dc74d9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9e7f0fc88e260118f5672935e3dc74d9">◆ </a></span>getStoreSize()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::getStoreSize </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00209">209</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8ebb38ac8562f6b1673a9f3b8216efce"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8ebb38ac8562f6b1673a9f3b8216efce">◆ </a></span>getFetchSize()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::getFetchSize </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00215">215</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aef142866cf7ca2a96d17efc55f8dcc19"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aef142866cf7ca2a96d17efc55f8dcc19">◆ </a></span>fdRequired()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ripple::NodeStore::Database::fdRequired </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns the number of file descriptors the database expects to need. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00222">222</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0923c37ede6c7ffeca02f59f566cf588"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0923c37ede6c7ffeca02f59f566cf588">◆ </a></span>onStop()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::onStop </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Override called when the stop notification is issued. </p>
|
|
<p>The call is made on an unspecified, implementation-specific thread. onStop and onChildrenStopped will never be called concurrently, across all <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> objects descended from the same root, inclusive of the root.</p>
|
|
<p>It is safe to call isStopping, isStopped, and areChildrenStopped from within this function; The values returned will always be valid and never change during the callback.</p>
|
|
<p>The default implementation simply calls <a class="el" href="classripple_1_1Stoppable.html#a65a95f9c14637491df60d3a07518fa09" title="Called by derived classes to indicate that the stoppable has stopped.">stopped()</a>. This is applicable when the <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> has a trivial stop operation (or no stop operation), and we are merely using the <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> API to position it as a dependency of some parent service.</p>
|
|
<p>Thread safety: May not block for long periods. Guaranteed only to be called once. Must be safe to call from any thread at any time. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="classripple_1_1Stoppable.html#a4278b4c199fbe20a75d69610a8970c03">ripple::Stoppable</a>.</p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classripple_1_1NodeStore_1_1DatabaseShardImp.html#a9f17f5785642cce8324c56de29a14770">ripple::NodeStore::DatabaseShardImp</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00079">79</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae84b30410af69ec7e7adcdb6265a4af8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae84b30410af69ec7e7adcdb6265a4af8">◆ </a></span>onChildrenStopped()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::onChildrenStopped </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 class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Override called when all children have stopped. </p>
|
|
<p>The call is made on an unspecified, implementation-specific thread. onStop and onChildrenStopped will never be called concurrently, across all <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> objects descended from the same root, inclusive of the root.</p>
|
|
<p>It is safe to call isStopping, isStopped, and areChildrenStopped from within this function; The values returned will always be valid and never change during the callback.</p>
|
|
<p>The default implementation does nothing.</p>
|
|
<p>Thread safety: May not block for long periods. Guaranteed only to be called once. Must be safe to call from any thread at any time. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="classripple_1_1Stoppable.html#a944a3ffe59dc8f41185fe7b740aa3e8f">ripple::Stoppable</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00087">87</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a51f2d9197ceae15155509404ce09d9a7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a51f2d9197ceae15155509404ce09d9a7">◆ </a></span>earliestLedgerSeq()</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/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::earliestLedgerSeq </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<dl class="section return"><dt>Returns</dt><dd>The earliest ledger sequence allowed </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00236">236</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab8f5eeb95d1166af47301d041b3063f2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab8f5eeb95d1166af47301d041b3063f2">◆ </a></span>stopThreads()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::stopThreads </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00093">93</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa3570fbe5e933011616c7662961de3e5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa3570fbe5e933011616c7662961de3e5">◆ </a></span>storeStats()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::storeStats </td>
|
|
<td>(</td>
|
|
<td class="paramtype">size_t </td>
|
|
<td class="paramname"><em>sz</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00250">250</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a109754c4bed6627ba778fa84244177a4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a109754c4bed6627ba778fa84244177a4">◆ </a></span>fetchInternal()</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/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > ripple::NodeStore::Database::fetchInternal </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> > </td>
|
|
<td class="paramname"><em>backend</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00123">123</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af885d9fe877259a258481f0df20697cd"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af885d9fe877259a258481f0df20697cd">◆ </a></span>importInternal()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::importInternal </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a> & </td>
|
|
<td class="paramname"><em>dstBackend</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1NodeStore_1_1Database.html">Database</a> & </td>
|
|
<td class="paramname"><em>srcDB</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00158">158</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1eb657a3b7c4b409f9640b82c11ed89e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1eb657a3b7c4b409f9640b82c11ed89e">◆ </a></span>doFetch()</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/shared_ptr.html">std::shared_ptr</a>< <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > ripple::NodeStore::Database::doFetch </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> const & </td>
|
|
<td class="paramname"><em>hash</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> </td>
|
|
<td class="paramname"><em>seq</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a> > & </td>
|
|
<td class="paramname"><em>pCache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1KeyCache.html">KeyCache</a>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> > & </td>
|
|
<td class="paramname"><em>nCache</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"><em>isAsync</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00184">184</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a7c4180512ff87a967de8091a019dc9f9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7c4180512ff87a967de8091a019dc9f9">◆ </a></span>threadEntry()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::NodeStore::Database::threadEntry </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8cpp_source.html#l00340">340</a> of file <a class="el" href="Database_8cpp_source.html">Database.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ae9b6cb02b4e1128bd2c4e1a81c9d695c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae9b6cb02b4e1128bd2c4e1a81c9d695c">◆ </a></span>getRoot()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1RootStoppable.html">RootStoppable</a>& ripple::Stoppable::getRoot </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00214">214</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adea135697761febf430a8628814c7902"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adea135697761febf430a8628814c7902">◆ </a></span>setParent()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::setParent </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classripple_1_1Stoppable.html">Stoppable</a> & </td>
|
|
<td class="paramname"><em>parent</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Set the parent of this <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a>. </p>
|
|
<dl class="section note"><dt>Note</dt><dd>The <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> must not already have a parent. The parent to be set cannot not be stopping. Both roots must match. </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00043">43</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a836b8737444ef1133c3596e61010fa80"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a836b8737444ef1133c3596e61010fa80">◆ </a></span>isStopping()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::isStopping </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns <code>true</code> if the stoppable should stop. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00054">54</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af1e1447ecb573d2341c8a71afd3e76da"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af1e1447ecb573d2341c8a71afd3e76da">◆ </a></span>isStopped()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::isStopped </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns <code>true</code> if the requested stop has completed. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00060">60</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9ec6fda89ff8bc63251a9c3682311e5d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ec6fda89ff8bc63251a9c3682311e5d">◆ </a></span>areChildrenStopped()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::areChildrenStopped </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">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Returns <code>true</code> if all children have stopped. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00066">66</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acc824cd8bdcffbac3c919c7e6009dea5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acc824cd8bdcffbac3c919c7e6009dea5">◆ </a></span>jobCounter()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#adf17c8e58c57ecf0ed6cbc7ee1c2ab22">JobCounter</a> & ripple::Stoppable::jobCounter </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00437">437</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aca4a925fd0df7e3a3bca51c9593e6a6e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aca4a925fd0df7e3a3bca51c9593e6a6e">◆ </a></span>alertable_sleep_until()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::alertable_sleep_until </td>
|
|
<td>(</td>
|
|
<td class="paramtype">std::chrono::system_clock::time_point const & </td>
|
|
<td class="paramname"><em>t</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Sleep or wake up on stop. </p>
|
|
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if we are stopping </dd></dl>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00455">455</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a65a95f9c14637491df60d3a07518fa09"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a65a95f9c14637491df60d3a07518fa09">◆ </a></span>stopped()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::stopped </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Called by derived classes to indicate that the stoppable has stopped. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00072">72</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab2a5544b4bfc0dccdc6a2a46f6ff5d84"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab2a5544b4bfc0dccdc6a2a46f6ff5d84">◆ </a></span>onPrepare()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::onPrepare </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Override called during preparation. </p>
|
|
<p>Since all other <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> objects in the tree have already been constructed, this provides an opportunity to perform initialization which depends on calling into other <a class="el" href="classripple_1_1Stoppable.html" title="Provides an interface for starting and stopping.">Stoppable</a> objects. This call is made on the same thread that called prepare(). The default implementation does nothing. Guaranteed to only be called once. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classripple_1_1ApplicationImp.html#a11604902ac7fe26dea0514976808e2ad">ripple::ApplicationImp</a>, <a class="el" href="classripple_1_1OverlayImpl.html#addad297874d76d9df9fc2d7c903d7782">ripple::OverlayImpl</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1Root.html#a0419ed3fe1cbaff9a0e7b218ea8c7383">ripple::test::Stoppable_test::Root</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1C.html#a27bf534a255be28d9db438c2e650febe">ripple::test::Stoppable_test::C</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1I.html#a1f3cfa0cbcefd9779a0d6bbb33e929ad">ripple::test::Stoppable_test::I</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1B.html#a3802f8ec07a49c257e7af4d6425c66d3">ripple::test::Stoppable_test::B</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1H.html#aca211ad8479955c5c3a8ff56c8b80f23">ripple::test::Stoppable_test::H</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1G.html#acb490a17968f0429b5e98fdab6165de0">ripple::test::Stoppable_test::G</a>, <a class="el" href="classripple_1_1SHAMapStoreImp.html#adff33ddff93fb52cbc61b12abcafe98e">ripple::SHAMapStoreImp</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1A.html#a9c4f120d3d1257cb1922e6dedc6ebb7c">ripple::test::Stoppable_test::A</a>, <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#a20612412402a342e2acc42a3f19936e7">ripple::PeerFinder::ManagerImp</a>, <a class="el" href="classripple_1_1perf_1_1PerfLogImp.html#a26d2333c65f5f8b8489f785d61c6346f">ripple::perf::PerfLogImp</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1F.html#a65baffca9446b7f05a5c4c561743698f">ripple::test::Stoppable_test::F</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1E.html#ab0d1bcc2b5c8349c9fedb83c880a0bcb">ripple::test::Stoppable_test::E</a>, <a class="el" href="classripple_1_1detail_1_1LedgerCleanerImp.html#a5f8e1250b4903f039435451cb8175f61">ripple::detail::LedgerCleanerImp</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1J.html#aeae3d11b4b4965ad1e41229b51eb3d10">ripple::test::Stoppable_test::J</a>, <a class="el" href="classripple_1_1LoadManager.html#a6f602f780c6e72f265cef2454e384db5">ripple::LoadManager</a>, <a class="el" href="structripple_1_1PerfLog__test_1_1PerfLogParent.html#a46116902aa4f8b6f1a5c91a49854e8f0">ripple::PerfLog_test::PerfLogParent</a>, and <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1D.html#a247b2d122fe5ebeda596a7f0bff9d79a">ripple::test::Stoppable_test::D</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00080">80</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0f24b7fcb7e8679dfd3783e9ffe3bbde"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0f24b7fcb7e8679dfd3783e9ffe3bbde">◆ </a></span>onStart()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::onStart </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">virtual</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p>Override called during start. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classripple_1_1ApplicationImp.html#a21dd55310b1f0a99297b384518d6df25">ripple::ApplicationImp</a>, <a class="el" href="classripple_1_1OverlayImpl.html#a3918e80c1267d4f907730999a4f26008">ripple::OverlayImpl</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1Root.html#aa42c557911d8e76788e87c2d877750ed">ripple::test::Stoppable_test::Root</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1C.html#a5be3e389258ba50a85c06a5af860927e">ripple::test::Stoppable_test::C</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1I.html#ae470d42add62e9c7f0a80d3ef8cceaf7">ripple::test::Stoppable_test::I</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1B.html#af411953a02cb2ba6b5694ffd519aed7e">ripple::test::Stoppable_test::B</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1H.html#ae196a19d259fd57700c35f233c11c026">ripple::test::Stoppable_test::H</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1G.html#ad54103c4f31d04a7f5d6593583028049">ripple::test::Stoppable_test::G</a>, <a class="el" href="classripple_1_1SHAMapStoreImp.html#a06851331bd59c5b55221845549708a34">ripple::SHAMapStoreImp</a>, <a class="el" href="classripple_1_1GRPCServer.html#acf26b69bea55fa6a49fb7528cb5e00c6">ripple::GRPCServer</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1A.html#a7683aa7a642d9f45973df12e2d50faf4">ripple::test::Stoppable_test::A</a>, <a class="el" href="classripple_1_1PeerFinder_1_1ManagerImp.html#aadd75f0fa58820b55705ba28adec085b">ripple::PeerFinder::ManagerImp</a>, <a class="el" href="classripple_1_1perf_1_1PerfLogImp.html#a81a7c17c2d7403d410f40266c8dc8a85">ripple::perf::PerfLogImp</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1F.html#aae263a3c2bc022bc75b2506345cbebcd">ripple::test::Stoppable_test::F</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1E.html#a3a98555a979eb1a3249205d75919f8ad">ripple::test::Stoppable_test::E</a>, <a class="el" href="classripple_1_1detail_1_1LedgerCleanerImp.html#a363652c7715c7176bff335387f97991f">ripple::detail::LedgerCleanerImp</a>, <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1J.html#ae2d5a662e72976386d89b013572172d1">ripple::test::Stoppable_test::J</a>, <a class="el" href="classripple_1_1LoadManager.html#a347fd7fdf32d02e17c676fdd92990cd4">ripple::LoadManager</a>, <a class="el" href="structripple_1_1PerfLog__test_1_1PerfLogParent.html#a29639c6dcd73b345d6592f25c0138f8e">ripple::PerfLog_test::PerfLogParent</a>, and <a class="el" href="classripple_1_1test_1_1Stoppable__test_1_1D.html#a279e901b5c96dfffe93a24af57c6dc3c">ripple::test::Stoppable_test::D</a>.</p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00085">85</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a390c62d40a1ca754dfb2de4befa02b0d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a390c62d40a1ca754dfb2de4befa02b0d">◆ </a></span>prepareRecursive()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::prepareRecursive </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00103">103</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab53b667e9786bed2c10dd3fcd02b517f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab53b667e9786bed2c10dd3fcd02b517f">◆ </a></span>startRecursive()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::startRecursive </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00113">113</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a34ddbefa8dda0aab52b8ecf493833d62"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a34ddbefa8dda0aab52b8ecf493833d62">◆ </a></span>stopAsyncRecursive()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::stopAsyncRecursive </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> </td>
|
|
<td class="paramname"><em>j</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00123">123</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a294e4d3874e76f53a443cb4df306913f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a294e4d3874e76f53a443cb4df306913f">◆ </a></span>stopRecursive()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ripple::Stoppable::stopRecursive </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> </td>
|
|
<td class="paramname"><em>j</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8cpp_source.html#l00134">134</a> of file <a class="el" href="Stoppable_8cpp_source.html">Stoppable.cpp</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ad8ffa795b9c94db42da3548719e3d125"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad8ffa795b9c94db42da3548719e3d125">◆ </a></span>pCache_</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/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a>> > ripple::NodeStore::DatabaseRotatingImp::pCache_</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="DatabaseRotatingImp_8h_source.html#l00117">117</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a679d869332ca5983aeb5f84e5ad710b2"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a679d869332ca5983aeb5f84e5ad710b2">◆ </a></span>nCache_</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/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1KeyCache.html">KeyCache</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>> > ripple::NodeStore::DatabaseRotatingImp::nCache_</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="DatabaseRotatingImp_8h_source.html#l00120">120</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acaa8e51a8678905a0b2d831154cc91b5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acaa8e51a8678905a0b2d831154cc91b5">◆ </a></span>writableBackend_</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/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a>> ripple::NodeStore::DatabaseRotatingImp::writableBackend_</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="DatabaseRotatingImp_8h_source.html#l00122">122</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a44b1eace70e02649d16668ca920531cb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a44b1eace70e02649d16668ca920531cb">◆ </a></span>archiveBackend_</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/shared_ptr.html">std::shared_ptr</a><<a class="el" href="classripple_1_1NodeStore_1_1Backend.html">Backend</a>> ripple::NodeStore::DatabaseRotatingImp::archiveBackend_</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="DatabaseRotatingImp_8h_source.html#l00123">123</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a4d803c36c8aea67c83f735814de25717"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a4d803c36c8aea67c83f735814de25717">◆ </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::DatabaseRotatingImp::mutex_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">private</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="DatabaseRotatingImp_8h_source.html#l00124">124</a> of file <a class="el" href="DatabaseRotatingImp_8h_source.html">DatabaseRotatingImp.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0d7c3d303adce36199b2c67c4df8a2de"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0d7c3d303adce36199b2c67c4df8a2de">◆ </a></span>j_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> ripple::NodeStore::Database::j_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00242">242</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0e5bc58351ded4683d7207383794a484"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0e5bc58351ded4683d7207383794a484">◆ </a></span>scheduler_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html">Scheduler</a>& ripple::NodeStore::Database::scheduler_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00243">243</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a730a87cf8b617a8afb30e2531ede0f81"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a730a87cf8b617a8afb30e2531ede0f81">◆ </a></span>fdRequired_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ripple::NodeStore::Database::fdRequired_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00244">244</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a743a610ca48e4585fc4fecda6c52d311"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a743a610ca48e4585fc4fecda6c52d311">◆ </a></span>storeCount_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>> ripple::NodeStore::Database::storeCount_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00290">290</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a53935eeab8c4e74a956fd3d70c85a35b"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a53935eeab8c4e74a956fd3d70c85a35b">◆ </a></span>fetchTotalCount_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>> ripple::NodeStore::Database::fetchTotalCount_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00291">291</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a89497b9b4c5530b58040931489015d30"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a89497b9b4c5530b58040931489015d30">◆ </a></span>fetchHitCount_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>> ripple::NodeStore::Database::fetchHitCount_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00292">292</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b5b290bf11d892a23a53e3e3beb2cfe"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b5b290bf11d892a23a53e3e3beb2cfe">◆ </a></span>storeSz_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>> ripple::NodeStore::Database::storeSz_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00293">293</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a04150d23aa2acaf016d4ca40bd10804a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a04150d23aa2acaf016d4ca40bd10804a">◆ </a></span>fetchSz_</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/atomic/atomic.html">std::atomic</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>> ripple::NodeStore::Database::fetchSz_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00294">294</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a06fbf66d1f34a6162a17daf72e71eba9"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a06fbf66d1f34a6162a17daf72e71eba9">◆ </a></span>readLock_</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::Database::readLock_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00296">296</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a438af3c0eba7891bb79d5c5dcb902556"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a438af3c0eba7891bb79d5c5dcb902556">◆ </a></span>readCondVar_</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/condition_variable.html">std::condition_variable</a> ripple::NodeStore::Database::readCondVar_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00297">297</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a6af5c13598349c55003f520267e514c1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6af5c13598349c55003f520267e514c1">◆ </a></span>readGenCondVar_</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/condition_variable.html">std::condition_variable</a> ripple::NodeStore::Database::readGenCondVar_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00298">298</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a20ecfe20206f927e8e6d6631053bd60d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20ecfe20206f927e8e6d6631053bd60d">◆ </a></span>read_</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>< <a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/utility/tuple.html">std::tuple</a>< <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a>, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a><<a class="el" href="classripple_1_1TaggedCache.html">TaggedCache</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>, <a class="el" href="classripple_1_1NodeObject.html">NodeObject</a>> >, <a class="elRef" href="http://en.cppreference.com/w/cpp/memory/weak_ptr.html">std::weak_ptr</a><<a class="el" href="classripple_1_1KeyCache.html">KeyCache</a><<a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a>> > > > ripple::NodeStore::Database::read_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00307">307</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afe98ed8463413de1a92d439cc1aebb35"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afe98ed8463413de1a92d439cc1aebb35">◆ </a></span>readLastHash_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="namespaceripple.html#a356c68147333a9a48a344718038576d9">uint256</a> ripple::NodeStore::Database::readLastHash_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00310">310</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ad769f906ab9351dc6c4fa166b3937e1c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ad769f906ab9351dc6c4fa166b3937e1c">◆ </a></span>readThreads_</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/vector.html">std::vector</a><<a class="elRef" href="http://en.cppreference.com/w/cpp/thread/thread.html">std::thread</a>> ripple::NodeStore::Database::readThreads_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00312">312</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0056efda3dfb01158eece68b05c98c2d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0056efda3dfb01158eece68b05c98c2d">◆ </a></span>readShut_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::NodeStore::Database::readShut_ {false}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00313">313</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adb20e114f931da87b2d25e8e1b1fe4ca"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adb20e114f931da87b2d25e8e1b1fe4ca">◆ </a></span>readGen_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint64_t ripple::NodeStore::Database::readGen_ {0}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00316">316</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aa59aca23acd391245f0b403df74ac8be"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aa59aca23acd391245f0b403df74ac8be">◆ </a></span>earliestLedgerSeq_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="elRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> ripple::NodeStore::Database::earliestLedgerSeq_</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Database_8h_source.html#l00320">320</a> of file <a class="el" href="Database_8h_source.html">Database.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3bee0684bbf67bc8c2f974cc30523cea"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3bee0684bbf67bc8c2f974cc30523cea">◆ </a></span>m_name</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::Stoppable::m_name</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00339">339</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3a889a7b2e1b4c0fd463c51abfaa0ee0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3a889a7b2e1b4c0fd463c51abfaa0ee0">◆ </a></span>m_root</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1RootStoppable.html">RootStoppable</a>& ripple::Stoppable::m_root</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00340">340</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab9ece0159fb3954819b6b6f1672ac2e4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab9ece0159fb3954819b6b6f1672ac2e4">◆ </a></span>m_child</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="structripple_1_1Stoppable_1_1Child.html">Child</a> ripple::Stoppable::m_child</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00341">341</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a9d39131e97d8faa6beb1d36eab19dc2f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a9d39131e97d8faa6beb1d36eab19dc2f">◆ </a></span>m_stopped</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/atomic/atomic.html">std::atomic</a><bool> ripple::Stoppable::m_stopped {false}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00342">342</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8c1e09326ea6d61009b6630c9e297c89"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8c1e09326ea6d61009b6630c9e297c89">◆ </a></span>m_childrenStopped</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/atomic/atomic.html">std::atomic</a><bool> ripple::Stoppable::m_childrenStopped {false}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00343">343</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="adc549cdc2b0ebef1878e6d79c496be4d"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#adc549cdc2b0ebef1878e6d79c496be4d">◆ </a></span>m_children</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classripple_1_1Stoppable.html#a43594a8835ccb53d7b80983694d26cad">Children</a> ripple::Stoppable::m_children</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00344">344</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a3c9a256ee2a1f891a042dda5c89360c0"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a3c9a256ee2a1f891a042dda5c89360c0">◆ </a></span>m_cv</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/condition_variable.html">std::condition_variable</a> ripple::Stoppable::m_cv</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00345">345</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="afb1038efa534f43ebbd76db775592aaf"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#afb1038efa534f43ebbd76db775592aaf">◆ </a></span>m_mut</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::Stoppable::m_mut</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00346">346</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a12f304b9baab521c4f5f8291485f1391"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a12f304b9baab521c4f5f8291485f1391">◆ </a></span>m_is_stopping</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::m_is_stopping = false</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00347">347</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1538bf3e4636b78efa3d30a5596eddf7"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1538bf3e4636b78efa3d30a5596eddf7">◆ </a></span>hasParent_</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ripple::Stoppable::hasParent_ {false}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
<p class="definition">Definition at line <a class="el" href="Stoppable_8h_source.html#l00348">348</a> of file <a class="el" href="Stoppable_8h_source.html">Stoppable.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|