Files
rippled/classripple_1_1NodeStoreScheduler.html
2025-11-04 00:36:48 -08:00

407 lines
34 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: ripple::NodeStoreScheduler Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceripple.html">ripple</a></li><li class="navelem"><a class="el" href="classripple_1_1NodeStoreScheduler.html">NodeStoreScheduler</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classripple_1_1NodeStoreScheduler-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">ripple::NodeStoreScheduler Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>A <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity.">NodeStore::Scheduler</a> which uses the <a class="el" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work.">JobQueue</a>.
<a href="classripple_1_1NodeStoreScheduler.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="NodeStoreScheduler_8h_source.html">NodeStoreScheduler.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ripple::NodeStoreScheduler:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStoreScheduler__inherit__graph.png" border="0" usemap="#aripple_1_1NodeStoreScheduler_inherit__map" alt="Inheritance graph"/></div>
<map name="aripple_1_1NodeStoreScheduler_inherit__map" id="aripple_1_1NodeStoreScheduler_inherit__map">
<area shape="rect" title="A NodeStore::Scheduler which uses the JobQueue." alt="" coords="5,93,204,119"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="33,5,176,45"/>
<area shape="poly" title=" " alt="" coords="107,59,107,93,102,93,102,59"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ripple::NodeStoreScheduler:</div>
<div class="dyncontent">
<div class="center"><img src="classripple_1_1NodeStoreScheduler__coll__graph.png" border="0" usemap="#aripple_1_1NodeStoreScheduler_coll__map" alt="Collaboration graph"/></div>
<map name="aripple_1_1NodeStoreScheduler_coll__map" id="aripple_1_1NodeStoreScheduler_coll__map">
<area shape="rect" title="A NodeStore::Scheduler which uses the JobQueue." alt="" coords="2527,651,2725,677"/>
<area shape="rect" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity." alt="" coords="2263,616,2405,656"/>
<area shape="poly" title=" " alt="" coords="2419,641,2527,652,2526,657,2419,647"/>
<area shape="rect" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work." alt="" coords="2269,681,2399,706"/>
<area shape="poly" title=" " alt="" coords="2412,683,2526,671,2527,677,2413,688"/>
<area shape="rect" href="structripple_1_1Workers_1_1Callback.html" title="Called to perform tasks as needed." alt="" coords="1629,731,1812,757"/>
<area shape="poly" title=" " alt="" coords="1826,739,2018,730,2238,709,2275,703,2276,709,2239,715,2018,735,1826,744"/>
<area shape="rect" href="classripple_1_1Workers.html" title="Workers is effectively a thread pool." alt="" coords="1997,1027,2115,1053"/>
<area shape="poly" title=" " alt="" coords="1798,758,1836,771,1877,788,1916,811,1951,839,1990,888,2020,942,2041,991,2053,1026,2048,1028,2036,993,2015,944,1985,891,1947,843,1913,815,1875,793,1834,776,1796,763"/>
<area shape="rect" href="classbeast_1_1Journal.html" title="A generic endpoint for log messages." alt="" coords="290,399,401,425"/>
<area shape="poly" title=" " alt="" coords="397,427,440,447,482,474,516,503,568,560,594,585,624,605,660,618,707,623,1157,623,1395,615,1703,604,1860,604,2008,609,2137,623,2192,633,2240,647,2253,656,2264,666,2292,678,2290,683,2261,670,2249,660,2238,652,2191,638,2137,628,2008,614,1860,609,1703,610,1395,620,1157,628,707,628,659,623,621,610,591,589,565,564,512,507,479,478,437,452,394,432"/>
<area shape="rect" href="classripple_1_1LoadMonitor.html" title=" " alt="" coords="634,281,782,306"/>
<area shape="poly" title=" " alt="" coords="397,393,667,304,669,309,399,398"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="5,399,152,425"/>
<area shape="poly" title=" " alt="" coords="166,409,290,409,290,415,166,415"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/mutex.html" title=" " alt="" coords="299,866,391,891"/>
<area shape="poly" title=" " alt="" coords="377,857,436,825,517,789,609,760,658,751,707,748,1157,748,1286,752,1342,751,1414,743,1471,730,1513,714,1556,698,1613,684,1679,674,1732,669,1852,665,1949,665,2094,661,2158,661,2239,668,2289,678,2288,683,2238,673,2158,666,2094,666,1949,671,1852,671,1732,674,1680,679,1614,689,1558,703,1515,719,1472,735,1415,748,1343,756,1286,757,1157,753,707,753,659,757,611,765,518,794,439,829,380,861"/>
<area shape="poly" title=" " alt="" coords="359,853,696,305,701,308,364,856"/>
<area shape="rect" href="classripple_1_1ClosureCounter.html" title=" " alt="" coords="1637,895,1804,935"/>
<area shape="poly" title=" " alt="" coords="405,876,707,876,1313,876,1399,878,1487,884,1637,900,1637,906,1486,890,1399,884,1313,881,707,881,405,881"/>
<area shape="poly" title=" " alt="" coords="357,904,393,1008,424,1075,463,1144,510,1209,537,1238,567,1263,598,1284,632,1300,668,1310,707,1313,1157,1313,1305,1311,1495,1303,1684,1286,1764,1274,1827,1259,1895,1236,1921,1219,1947,1190,1957,1171,1960,1153,1962,1134,1971,1112,2001,1077,2033,1051,2037,1055,2005,1080,1976,1115,1967,1135,1965,1154,1962,1173,1952,1194,1924,1223,1898,1240,1829,1264,1765,1279,1684,1291,1495,1308,1305,1316,1157,1319,707,1319,667,1315,630,1305,596,1288,564,1267,534,1242,506,1213,458,1147,419,1078,388,1010,351,906"/>
<area shape="rect" href="classripple_1_1basic__semaphore.html" title=" " alt="" coords="1619,1051,1822,1106"/>
<area shape="poly" title=" " alt="" coords="370,899,425,948,505,1006,552,1032,601,1053,653,1068,707,1073,1157,1073,1619,1075,1619,1081,1157,1079,707,1079,652,1073,600,1058,549,1037,502,1010,422,952,367,903"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/integer.html" title=" " alt="" coords="294,299,397,325"/>
<area shape="poly" title=" " alt="" coords="409,302,424,295,437,285,448,268,452,252,448,219,445,184,449,166,461,148,504,106,547,81,591,67,636,64,735,72,791,77,854,80,2057,80,2119,86,2144,93,2166,104,2187,119,2205,138,2241,189,2250,209,2255,233,2259,292,2250,432,2244,504,2243,570,2248,626,2255,649,2265,666,2279,679,2275,683,2261,670,2250,651,2243,627,2237,570,2239,503,2245,431,2254,292,2250,234,2245,211,2236,192,2201,142,2183,123,2164,109,2142,98,2118,91,2057,85,854,85,791,83,735,77,636,69,592,73,549,85,507,111,465,151,454,168,450,184,454,218,457,253,452,271,441,288,427,300,411,307"/>
<area shape="rect" href="classripple_1_1Job.html" title=" " alt="" coords="1677,458,1764,483"/>
<area shape="poly" title=" " alt="" coords="411,318,547,333,707,341,1313,341,1392,343,1454,350,1515,365,1590,391,1655,423,1704,456,1701,460,1652,427,1588,396,1514,370,1453,355,1392,348,1313,347,707,347,546,339,410,324"/>
<area shape="poly" title=" " alt="" coords="410,306,633,294,633,300,410,311"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/set.html" title=" " alt="" coords="1973,487,2139,513"/>
<area shape="poly" title=" " alt="" coords="2143,514,2195,536,2220,552,2241,572,2249,584,2253,597,2253,621,2253,644,2257,655,2265,666,2281,678,2278,683,2261,670,2252,657,2248,645,2248,621,2248,598,2244,587,2237,575,2216,556,2193,541,2141,519"/>
<area shape="poly" title=" " alt="" coords="1778,473,1973,490,1973,495,1777,478"/>
<area shape="rect" href="classripple_1_1CountedObject.html" title=" " alt="" coords="1230,547,1393,587"/>
<area shape="poly" title=" " alt="" coords="1406,557,1496,546,1589,525,1646,504,1694,481,1697,486,1648,509,1590,531,1496,551,1407,563"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/utility/functional/function.html" title=" " alt="" coords="1228,382,1395,407"/>
<area shape="poly" title=" " alt="" coords="1408,405,1590,436,1677,457,1676,462,1589,441,1408,410"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1226,432,1397,472"/>
<area shape="poly" title=" " alt="" coords="1410,454,1677,466,1677,471,1410,459"/>
<area shape="rect" href="classripple_1_1LoadEvent.html" title=" " alt="" coords="939,439,1074,465"/>
<area shape="poly" title=" " alt="" coords="1088,449,1225,449,1225,455,1088,455"/>
<area shape="poly" title=" " alt="" coords="746,310,983,437,980,442,744,315"/>
<area shape="rect" href="structripple_1_1JobTypeData.html" title=" " alt="" coords="1647,195,1795,221"/>
<area shape="poly" title=" " alt="" coords="742,271,817,235,863,217,910,204,1012,186,1117,175,1222,171,1324,171,1508,180,1647,195,1646,200,1508,186,1324,176,1222,176,1118,181,1013,191,911,209,865,222,820,240,745,276"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/duration.html" title=" " alt="" coords="253,135,437,161"/>
<area shape="poly" title=" " alt="" coords="392,163,676,278,674,283,390,168"/>
<area shape="rect" href="classripple_1_1JobTypeInfo.html" title="Holds all the &#39;static&#39; information about a job, which does not change." alt="" coords="935,219,1078,245"/>
<area shape="poly" title=" " alt="" coords="442,131,462,129,527,125,592,129,700,147,805,171,967,217,965,222,804,176,699,152,592,135,527,131,463,135,442,136"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/chrono/time_point.html" title=" " alt="" coords="259,235,431,275"/>
<area shape="poly" title=" " alt="" coords="445,263,634,283,634,288,445,268"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="665,469,751,494"/>
<area shape="poly" title=" " alt="" coords="765,480,1044,483,1415,481,1677,470,1677,476,1415,487,1044,489,765,485"/>
<area shape="poly" title=" " alt="" coords="765,473,939,456,939,461,765,478"/>
<area shape="poly" title=" " alt="" coords="723,455,753,413,795,361,848,309,909,264,960,242,962,247,912,269,852,313,799,365,757,417,727,458"/>
<area shape="poly" title=" " alt="" coords="754,497,917,563,1128,641,1262,685,1368,713,1614,765,1675,775,1725,779,1772,787,1829,811,1843,822,1854,835,1880,855,1903,869,1925,883,1951,905,2009,971,2049,1026,2044,1029,2005,974,1947,909,1922,887,1900,873,1877,860,1850,839,1839,826,1827,816,1771,792,1724,784,1675,780,1613,771,1367,718,1260,690,1126,647,915,568,752,502"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="276,461,415,501"/>
<area shape="poly" title=" " alt="" coords="429,479,664,479,664,484,429,484"/>
<area shape="poly" title=" " alt="" coords="1815,895,1826,886,1834,875,1837,865,1837,841,1837,818,1841,805,1850,794,1875,780,1908,771,1990,762,2074,759,2138,753,2188,740,2238,724,2297,704,2299,709,2240,729,2190,746,2139,759,2074,765,1990,768,1909,776,1877,785,1854,798,1845,808,1842,818,1842,841,1843,865,1839,878,1830,890,1818,899"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/thread/condition_variable.html" title=" " alt="" coords="1226,807,1397,833"/>
<area shape="poly" title=" " alt="" coords="1388,802,1485,774,1538,756,1588,734,1600,725,1612,716,1669,703,1745,694,1929,685,2119,685,2269,688,2269,694,2119,690,1929,690,1745,699,1670,708,1614,721,1603,729,1591,738,1540,761,1487,779,1389,807"/>
<area shape="poly" title=" " alt="" coords="1411,830,1513,845,1590,861,1614,874,1662,892,1660,897,1612,878,1588,867,1512,850,1410,835"/>
<area shape="poly" title=" " alt="" coords="1411,816,1439,816,1514,811,1548,811,1590,816,1614,825,1674,841,1723,849,1771,859,1829,880,1895,916,1956,957,2042,1025,2039,1029,1953,961,1892,920,1827,885,1769,864,1722,854,1673,846,1613,831,1589,821,1547,816,1515,817,1439,821,1411,822"/>
<area shape="poly" title=" " alt="" coords="1338,841,1417,925,1428,943,1440,958,1478,982,1511,995,1546,1005,1590,1020,1657,1049,1655,1054,1588,1025,1545,1010,1509,1000,1476,987,1437,962,1424,946,1413,928,1334,845"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1240,939,1383,965"/>
<area shape="poly" title=" " alt="" coords="1396,942,1637,920,1637,925,1397,947"/>
<area shape="poly" title=" " alt="" coords="1370,966,1439,981,1552,996,1708,1011,1997,1033,1996,1039,1708,1016,1552,1001,1438,987,1368,971"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1991,1362,2121,1387"/>
<area shape="poly" title=" " alt="" coords="2128,1386,2157,1387,2186,1384,2213,1375,2237,1359,2254,1338,2269,1309,2293,1231,2310,1135,2321,1031,2330,831,2330,706,2336,706,2336,831,2326,1031,2315,1136,2298,1232,2274,1311,2258,1341,2240,1363,2216,1380,2187,1389,2157,1392,2128,1392"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/container/map.html" title=" " alt="" coords="1982,233,2130,273"/>
<area shape="poly" title=" " alt="" coords="2144,248,2196,260,2220,272,2241,290,2250,305,2256,323,2261,368,2260,421,2255,479,2248,590,2252,635,2257,652,2265,666,2279,679,2275,683,2261,670,2252,654,2247,636,2243,590,2250,478,2254,421,2256,368,2251,324,2245,307,2237,294,2217,277,2194,265,2143,253"/>
<area shape="poly" title=" " alt="" coords="1771,189,1871,164,1933,154,1999,149,2066,153,2130,166,2190,192,2216,210,2241,233,2251,249,2259,270,2265,321,2263,383,2256,449,2250,516,2247,578,2250,630,2256,650,2265,666,2279,679,2275,683,2261,670,2251,652,2245,631,2241,578,2244,515,2251,449,2257,382,2259,321,2254,271,2247,252,2237,236,2213,214,2187,196,2129,171,2065,158,1999,155,1934,159,1872,169,1773,194"/>
<area shape="poly" title=" " alt="" coords="1809,217,1982,241,1981,246,1808,222"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1208,281,1415,306"/>
<area shape="poly" title=" " alt="" coords="1429,300,1635,324,1756,342,1879,364,1996,391,2100,423,2184,460,2216,481,2241,504,2254,525,2259,546,2254,587,2249,626,2253,646,2265,666,2280,679,2277,683,2261,670,2248,648,2243,627,2249,586,2253,546,2249,527,2237,507,2213,485,2182,465,2098,428,1995,396,1878,369,1755,347,1634,329,1428,306"/>
<area shape="poly" title=" " alt="" coords="1429,287,1508,279,1589,263,1647,242,1695,218,1697,223,1649,247,1590,268,1509,284,1429,292"/>
<area shape="rect" href="classbeast_1_1insight_1_1Collector.html" title="Interface for a manager that allows collection of metrics." alt="" coords="919,279,1095,305"/>
<area shape="poly" title=" " alt="" coords="1108,290,1208,290,1208,296,1108,295"/>
<area shape="poly" title=" " alt="" coords="1092,227,1646,208,1647,213,1092,232"/>
<area shape="rect" href="classbeast_1_1insight_1_1Event.html" title="A metric for reporting event timing." alt="" coords="1234,15,1389,41"/>
<area shape="poly" title=" " alt="" coords="1367,42,1416,60,1577,133,1696,193,1694,198,1575,138,1414,65,1366,47"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="921,5,1092,45"/>
<area shape="poly" title=" " alt="" coords="1106,24,1234,25,1234,30,1106,29"/>
<area shape="rect" href="classbeast_1_1insight_1_1EventImpl.html" title=" " alt="" coords="616,13,800,38"/>
<area shape="poly" title=" " alt="" coords="814,23,921,23,921,28,814,28"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="252,5,439,45"/>
<area shape="poly" title=" " alt="" coords="453,23,616,23,616,28,453,28"/>
<area shape="poly" title=" " alt="" coords="2076,1015,2149,934,2237,828,2286,759,2322,705,2327,708,2291,762,2241,831,2153,937,2080,1019"/>
<area shape="rect" href="classripple_1_1perf_1_1PerfLog.html" title="Singleton class that maintains performance counters and optionally writes Json&#45;formatted data to a di..." alt="" coords="1646,1325,1795,1350"/>
<area shape="poly" title=" " alt="" coords="1809,1338,1879,1329,1915,1319,1948,1304,1994,1275,2036,1242,2075,1204,2111,1163,2174,1073,2225,981,2265,891,2295,811,2327,705,2332,707,2300,813,2270,893,2230,983,2178,1076,2115,1166,2079,1207,2039,1246,1997,1280,1951,1309,1917,1324,1880,1334,1809,1343"/>
<area shape="poly" title=" " alt="" coords="1797,1319,1891,1297,1928,1286,1948,1278,1973,1252,1994,1222,2024,1157,2042,1096,2050,1052,2056,1053,2047,1097,2029,1159,1998,1225,1977,1256,1951,1282,1930,1291,1893,1302,1798,1324"/>
<area shape="poly" title=" " alt="" coords="1835,1063,1996,1044,1997,1049,1836,1068"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/types/size_t.html" title=" " alt="" coords="1267,1013,1355,1038"/>
<area shape="poly" title=" " alt="" coords="1369,1030,1619,1063,1619,1068,1369,1035"/>
<area shape="rect" href="classbeast_1_1LockFreeStack.html" title=" " alt="" coords="1619,1209,1822,1249"/>
<area shape="poly" title=" " alt="" coords="1803,1202,1827,1194,1890,1169,1948,1135,2002,1091,2041,1051,2045,1055,2005,1095,1951,1140,1892,1173,1829,1198,1805,1207"/>
<area shape="rect" href="classbeast_1_1LockFreeStack_1_1Node.html" title=" " alt="" coords="917,1167,1096,1207"/>
<area shape="poly" title=" " alt="" coords="1078,1208,1141,1227,1208,1240,1318,1249,1428,1251,1531,1246,1619,1239,1619,1244,1531,1251,1428,1256,1317,1255,1208,1245,1140,1232,1076,1214"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/atomic/atomic.html" title=" " alt="" coords="1215,1176,1407,1216"/>
<area shape="poly" title=" " alt="" coords="1110,1206,1127,1208,1171,1210,1215,1207,1215,1213,1171,1215,1126,1213,1109,1211"/>
<area shape="rect" href="classbeast_1_1LockFreeStack.html" title=" " alt="" coords="1613,1130,1828,1185"/>
<area shape="poly" title=" " alt="" coords="1109,1170,1126,1168,1256,1155,1357,1148,1459,1146,1589,1148,1613,1149,1613,1154,1589,1153,1459,1151,1358,1153,1257,1160,1127,1173,1110,1175"/>
<area shape="poly" title=" " alt="" coords="1422,1203,1439,1204,1620,1219,1619,1224,1438,1209,1421,1208"/>
<area shape="poly" title=" " alt="" coords="1201,1195,1096,1192,1096,1187,1201,1190"/>
<area shape="poly" title=" " alt="" coords="1421,1183,1613,1165,1613,1170,1421,1188"/>
<area shape="poly" title=" " alt="" coords="1825,1123,1948,1082,2025,1050,2027,1055,1950,1086,1827,1128"/>
<area shape="rect" href="classbeast_1_1insight_1_1Gauge.html" title="A metric for measuring an integral value." alt="" coords="1976,1411,2136,1437"/>
<area shape="poly" title=" " alt="" coords="2127,1436,2156,1437,2186,1433,2213,1425,2237,1409,2246,1394,2255,1369,2272,1292,2288,1190,2301,1075,2320,849,2329,706,2335,707,2325,849,2306,1075,2293,1191,2278,1293,2260,1370,2251,1397,2241,1413,2215,1429,2187,1439,2156,1442,2127,1441"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1635,1401,1806,1441"/>
<area shape="poly" title=" " alt="" coords="1820,1419,1976,1421,1976,1426,1820,1425"/>
<area shape="rect" href="classbeast_1_1insight_1_1GaugeImpl.html" title=" " alt="" coords="1217,1409,1406,1434"/>
<area shape="poly" title=" " alt="" coords="1420,1419,1635,1419,1635,1424,1420,1424"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="911,1401,1103,1441"/>
<area shape="poly" title=" " alt="" coords="1116,1419,1217,1419,1217,1424,1116,1424"/>
<area shape="rect" href="classbeast_1_1insight_1_1Hook.html" title="A reference to a handler for performing polled collection." alt="" coords="1980,1467,2132,1493"/>
<area shape="poly" title=" " alt="" coords="2145,1489,2195,1482,2217,1473,2237,1458,2247,1442,2256,1415,2274,1332,2289,1222,2302,1098,2321,857,2329,706,2335,706,2326,857,2307,1099,2294,1223,2279,1333,2261,1416,2251,1445,2241,1462,2220,1477,2196,1487,2146,1494"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html" title=" " alt="" coords="1635,1465,1806,1505"/>
<area shape="poly" title=" " alt="" coords="1820,1481,1979,1479,1980,1484,1820,1486"/>
<area shape="rect" href="classbeast_1_1insight_1_1HookImpl.html" title=" " alt="" coords="1221,1473,1402,1498"/>
<area shape="poly" title=" " alt="" coords="1416,1483,1635,1483,1635,1488,1416,1488"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/memory/enable_shared_from_this.html" title=" " alt="" coords="915,1465,1099,1505"/>
<area shape="poly" title=" " alt="" coords="1113,1483,1220,1483,1220,1488,1113,1488"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a92e3efe8d2011f9095a1e9c76628dc2e" id="r_a92e3efe8d2011f9095a1e9c76628dc2e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStoreScheduler.html#a92e3efe8d2011f9095a1e9c76628dc2e">NodeStoreScheduler</a> (<a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;jobQueue)</td></tr>
<tr class="separator:a92e3efe8d2011f9095a1e9c76628dc2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b1c3260477e401b7e57493b0aaf9a3a" id="r_a0b1c3260477e401b7e57493b0aaf9a3a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStoreScheduler.html#a0b1c3260477e401b7e57493b0aaf9a3a">scheduleTask</a> (<a class="el" href="structripple_1_1NodeStore_1_1Task.html">NodeStore::Task</a> &amp;task) override</td></tr>
<tr class="memdesc:a0b1c3260477e401b7e57493b0aaf9a3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Schedules a task. <br /></td></tr>
<tr class="separator:a0b1c3260477e401b7e57493b0aaf9a3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a042848ff97f97cff8a602ffec6b9f807" id="r_a042848ff97f97cff8a602ffec6b9f807"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStoreScheduler.html#a042848ff97f97cff8a602ffec6b9f807">onFetch</a> (<a class="el" href="structripple_1_1NodeStore_1_1FetchReport.html">NodeStore::FetchReport</a> const &amp;report) override</td></tr>
<tr class="memdesc:a042848ff97f97cff8a602ffec6b9f807"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports completion of a fetch Allows the scheduler to monitor the node store's performance. <br /></td></tr>
<tr class="separator:a042848ff97f97cff8a602ffec6b9f807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b9464b915021b488e3d2e22b840a62f" id="r_a0b9464b915021b488e3d2e22b840a62f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStoreScheduler.html#a0b9464b915021b488e3d2e22b840a62f">onBatchWrite</a> (<a class="el" href="structripple_1_1NodeStore_1_1BatchWriteReport.html">NodeStore::BatchWriteReport</a> const &amp;report) override</td></tr>
<tr class="memdesc:a0b9464b915021b488e3d2e22b840a62f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reports the completion of a batch write Allows the scheduler to monitor the node store's performance. <br /></td></tr>
<tr class="separator:a0b9464b915021b488e3d2e22b840a62f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:aa0fbc996243ce5b4d1b5eb2a2cabc2fa" id="r_aa0fbc996243ce5b4d1b5eb2a2cabc2fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classripple_1_1NodeStoreScheduler.html#aa0fbc996243ce5b4d1b5eb2a2cabc2fa">jobQueue_</a></td></tr>
<tr class="separator:aa0fbc996243ce5b4d1b5eb2a2cabc2fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html" title="Scheduling for asynchronous backend activity.">NodeStore::Scheduler</a> which uses the <a class="el" href="classripple_1_1JobQueue.html" title="A pool of threads to perform work.">JobQueue</a>. </p>
<p class="definition">Definition at line <a class="el" href="NodeStoreScheduler_8h_source.html#l00011">11</a> of file <a class="el" href="NodeStoreScheduler_8h_source.html">NodeStoreScheduler.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a92e3efe8d2011f9095a1e9c76628dc2e" name="a92e3efe8d2011f9095a1e9c76628dc2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92e3efe8d2011f9095a1e9c76628dc2e">&#9670;&#160;</a></span>NodeStoreScheduler()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">ripple::NodeStoreScheduler::NodeStoreScheduler </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classripple_1_1JobQueue.html">JobQueue</a> &amp;&#160;</td>
<td class="paramname"><em>jobQueue</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="NodeStoreScheduler_8cpp_source.html#l00005">5</a> of file <a class="el" href="NodeStoreScheduler_8cpp_source.html">NodeStoreScheduler.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0b1c3260477e401b7e57493b0aaf9a3a" name="a0b1c3260477e401b7e57493b0aaf9a3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b1c3260477e401b7e57493b0aaf9a3a">&#9670;&#160;</a></span>scheduleTask()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::NodeStoreScheduler::scheduleTask </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1NodeStore_1_1Task.html">NodeStore::Task</a> &amp;&#160;</td>
<td class="paramname"><em>task</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>Schedules a task. </p>
<p>Depending on the implementation, the task may be invoked either on the current thread of execution, or an unspecified implementation-defined foreign thread. </p>
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html#af3734617d65f9903e3b33d3ee6de8102">ripple::NodeStore::Scheduler</a>.</p>
<p class="definition">Definition at line <a class="el" href="NodeStoreScheduler_8cpp_source.html#l00010">10</a> of file <a class="el" href="NodeStoreScheduler_8cpp_source.html">NodeStoreScheduler.cpp</a>.</p>
</div>
</div>
<a id="a042848ff97f97cff8a602ffec6b9f807" name="a042848ff97f97cff8a602ffec6b9f807"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a042848ff97f97cff8a602ffec6b9f807">&#9670;&#160;</a></span>onFetch()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::NodeStoreScheduler::onFetch </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1NodeStore_1_1FetchReport.html">NodeStore::FetchReport</a> const &amp;&#160;</td>
<td class="paramname"><em>report</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>Reports completion of a fetch Allows the scheduler to monitor the node store's performance. </p>
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html#acf9a08ef64dd95c98da3e095ee919171">ripple::NodeStore::Scheduler</a>.</p>
<p class="definition">Definition at line <a class="el" href="NodeStoreScheduler_8cpp_source.html#l00026">26</a> of file <a class="el" href="NodeStoreScheduler_8cpp_source.html">NodeStoreScheduler.cpp</a>.</p>
</div>
</div>
<a id="a0b9464b915021b488e3d2e22b840a62f" name="a0b9464b915021b488e3d2e22b840a62f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b9464b915021b488e3d2e22b840a62f">&#9670;&#160;</a></span>onBatchWrite()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ripple::NodeStoreScheduler::onBatchWrite </td>
<td>(</td>
<td class="paramtype"><a class="el" href="structripple_1_1NodeStore_1_1BatchWriteReport.html">NodeStore::BatchWriteReport</a> const &amp;&#160;</td>
<td class="paramname"><em>report</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>Reports the completion of a batch write Allows the scheduler to monitor the node store's performance. </p>
<p>Implements <a class="el" href="classripple_1_1NodeStore_1_1Scheduler.html#a0adffe6c4e42f062bd47864f4e615a39">ripple::NodeStore::Scheduler</a>.</p>
<p class="definition">Definition at line <a class="el" href="NodeStoreScheduler_8cpp_source.html#l00039">39</a> of file <a class="el" href="NodeStoreScheduler_8cpp_source.html">NodeStoreScheduler.cpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa0fbc996243ce5b4d1b5eb2a2cabc2fa" name="aa0fbc996243ce5b4d1b5eb2a2cabc2fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0fbc996243ce5b4d1b5eb2a2cabc2fa">&#9670;&#160;</a></span>jobQueue_</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_1JobQueue.html">JobQueue</a>&amp; ripple::NodeStoreScheduler::jobQueue_</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="NodeStoreScheduler_8h_source.html#l00024">24</a> of file <a class="el" href="NodeStoreScheduler_8h_source.html">NodeStoreScheduler.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>