mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 04:25:51 +00:00
deploy: 405f4613d8
This commit is contained in:
@@ -106,7 +106,7 @@ $(function() {
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> , mWriteLoad(0)</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> , mWritePending(false)</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span>{</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a3764d56b2e80ee3345a2427f06192abb">mWriteSet</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">reserve</a>(<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#a73e90f045de84d0a74eb7a0ab9f47da0a3e7cbb590a2149da2328925f4ac5978a">batchWritePreallocationSize</a>);</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a3764d56b2e80ee3345a2427f06192abb">mWriteSet</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/reserve.html">reserve</a>(<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#aa58826ecc5365c32e57504172cc6c827a3e7cbb590a2149da2328925f4ac5978a">batchWritePreallocationSize</a>);</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span>}</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classripple_1_1NodeStore_1_1BatchWriter.html#af79bad700133763e550a4750fcae40d7"> 34</a></span><a class="code hl_function" href="classripple_1_1NodeStore_1_1BatchWriter.html#af79bad700133763e550a4750fcae40d7">BatchWriter::~BatchWriter</a>()</div>
|
||||
@@ -121,7 +121,7 @@ $(function() {
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// If the batch has reached its limit, we wait</span></div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// until the batch writer is finished</span></div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">while</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a3764d56b2e80ee3345a2427f06192abb">mWriteSet</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() >= <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#a73e90f045de84d0a74eb7a0ab9f47da0a03b8818e1ee729cf3a62bf6697aff257">batchWriteLimitSize</a>)</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keywordflow">while</span> (<a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a3764d56b2e80ee3345a2427f06192abb">mWriteSet</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>() >= <a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#aa58826ecc5365c32e57504172cc6c827a03b8818e1ee729cf3a62bf6697aff257">batchWriteLimitSize</a>)</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#ae99b6e34ec47a86bcdc8de5a5a49eff4">mWriteCondition</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/thread/condition_variable_any/wait.html">wait</a>(sl);</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a3764d56b2e80ee3345a2427f06192abb">mWriteSet</a>.<a class="code hl_functionRef" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(<span class="keywordtype">object</span>);</div>
|
||||
@@ -155,7 +155,7 @@ $(function() {
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> {</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<std::shared_ptr<NodeObject></a>> <a class="code hl_function" href="namespaceripple.html#a53f80df10254751781250aa20704e98f">set</a>;</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_function" href="namespaceripple.html#a53f80df10254751781250aa20704e98f">set</a>.reserve(<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#a73e90f045de84d0a74eb7a0ab9f47da0a3e7cbb590a2149da2328925f4ac5978a">batchWritePreallocationSize</a>);</div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <a class="code hl_function" href="namespaceripple.html#a53f80df10254751781250aa20704e98f">set</a>.reserve(<a class="code hl_enumvalue" href="namespaceripple_1_1NodeStore.html#aa58826ecc5365c32e57504172cc6c827a3e7cbb590a2149da2328925f4ac5978a">batchWritePreallocationSize</a>);</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div>
|
||||
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> {</div>
|
||||
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a> sl(<a class="code hl_variable" href="classripple_1_1NodeStore_1_1BatchWriter.html#a8446bde66ae915ce1e8a23c1d9e03932">mWriteMutex</a>);</div>
|
||||
@@ -220,8 +220,8 @@ $(function() {
|
||||
<div class="ttc" id="aempty_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/empty.html">std::vector::empty</a></div><div class="ttdeci">T empty(T... args)</div></div>
|
||||
<div class="ttc" id="alock_guard_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/lock_guard.html">std::lock_guard</a></div></div>
|
||||
<div class="ttc" id="amax_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/algorithm/max.html">std::max</a></div><div class="ttdeci">T max(T... args)</div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_a73e90f045de84d0a74eb7a0ab9f47da0a03b8818e1ee729cf3a62bf6697aff257"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#a73e90f045de84d0a74eb7a0ab9f47da0a03b8818e1ee729cf3a62bf6697aff257">ripple::NodeStore::batchWriteLimitSize</a></div><div class="ttdeci">@ batchWriteLimitSize</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00041">src/xrpld/nodestore/Types.h:40</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_a73e90f045de84d0a74eb7a0ab9f47da0a3e7cbb590a2149da2328925f4ac5978a"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#a73e90f045de84d0a74eb7a0ab9f47da0a3e7cbb590a2149da2328925f4ac5978a">ripple::NodeStore::batchWritePreallocationSize</a></div><div class="ttdeci">@ batchWritePreallocationSize</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00034">src/xrpld/nodestore/Types.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_aa58826ecc5365c32e57504172cc6c827a03b8818e1ee729cf3a62bf6697aff257"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#aa58826ecc5365c32e57504172cc6c827a03b8818e1ee729cf3a62bf6697aff257">ripple::NodeStore::batchWriteLimitSize</a></div><div class="ttdeci">@ batchWriteLimitSize</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00041">src/xrpld/nodestore/Types.h:40</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_aa58826ecc5365c32e57504172cc6c827a3e7cbb590a2149da2328925f4ac5978a"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#aa58826ecc5365c32e57504172cc6c827a3e7cbb590a2149da2328925f4ac5978a">ripple::NodeStore::batchWritePreallocationSize</a></div><div class="ttdeci">@ batchWritePreallocationSize</div><div class="ttdef"><b>Definition:</b> <a href="src_2xrpld_2nodestore_2Types_8h_source.html#l00034">src/xrpld/nodestore/Types.h:34</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a53f80df10254751781250aa20704e98f"><div class="ttname"><a href="namespaceripple.html#a53f80df10254751781250aa20704e98f">ripple::set</a></div><div class="ttdeci">bool set(T &target, std::string const &name, Section const &section)</div><div class="ttdoc">Set a value from a configuration Section If the named value is not found or doesn't parse as a T,...</div><div class="ttdef"><b>Definition:</b> <a href="BasicConfig_8h_source.html#l00315">BasicConfig.h:315</a></div></div>
|
||||
<div class="ttc" id="anotify_all_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/condition_variable_any/notify_all.html">std::condition_variable_any::notify_all</a></div><div class="ttdeci">T notify_all(T... args)</div></div>
|
||||
|
||||
Reference in New Issue
Block a user