Skip to content

Commit

Permalink
deploy: 9507bc8
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcchen committed Nov 30, 2023
1 parent 8a297c1 commit edc0d02
Show file tree
Hide file tree
Showing 25 changed files with 744 additions and 653 deletions.
6 changes: 3 additions & 3 deletions d8/d48/kv__client_8h_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">public</span>:</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <a class="code hl_class" href="../../d4/dbb/classresdb_1_1KVClient.html">KVClient</a>(<span class="keyword">const</span> <a class="code hl_class" href="../../db/ddb/classresdb_1_1ResDBConfig.html">ResDBConfig</a>&amp; config);</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="comment">//Version-based interfaces.</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// Version-based interfaces.</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="comment">// Obtain the current version before setting a new data</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">int</span> <a class="code hl_function" href="../../d4/dbb/classresdb_1_1KVClient.html#a51f8f8bb730c43c71e97c9c7777a11fd">Set</a>(<span class="keyword">const</span> std::string&amp; key, <span class="keyword">const</span> std::string&amp; <a class="code hl_variable" href="../../df/dba/batch__queue__test_8cpp.html#a8a036d3167ef9d3099cafcac54e25c72">data</a>, <span class="keywordtype">int</span> version);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// Obtain the value with a specific version.</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// If the version parameter is zero, it will return the data with the current version in the</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// database. ValueInfo contains the version and its version. </span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="comment">// If the version parameter is zero, it will return the data with the current</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// version in the database. ValueInfo contains the version and its version.</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="comment">// Return nullptr if there is an error.</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> std::unique_ptr&lt;ValueInfo&gt; <a class="code hl_function" href="../../d4/dbb/classresdb_1_1KVClient.html#abf116a590c3c36a16dc4adf3b3ffee35">Get</a>(<span class="keyword">const</span> std::string&amp; key, <span class="keywordtype">int</span> version);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
Functions</h2></td></tr>
<tr class="memitem:a91da2a7f6c244a57f3f8a5fa094dcb7b" id="r_a91da2a7f6c244a57f3f8a5fa094dcb7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#a91da2a7f6c244a57f3f8a5fa094dcb7b">ShowUsage</a> ()</td></tr>
<tr class="separator:a91da2a7f6c244a57f3f8a5fa094dcb7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adba68e5e482c460e2398c12081b802f9" id="r_adba68e5e482c460e2398c12081b802f9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#adba68e5e482c460e2398c12081b802f9">OldAPI</a> (char **argv)</td></tr>
<tr class="separator:adba68e5e482c460e2398c12081b802f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627" id="r_a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
Expand Down Expand Up @@ -145,6 +147,26 @@ <h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e8
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp_source.html#l00126">126</a> of file <a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp_source.html">kv_service_tools.cpp</a>.</p>

</div>
</div>
<a id="adba68e5e482c460e2398c12081b802f9" name="adba68e5e482c460e2398c12081b802f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adba68e5e482c460e2398c12081b802f9">&#9670;&#160;</a></span>OldAPI()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OldAPI </td>
<td>(</td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>argv</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp_source.html#l00076">76</a> of file <a class="el" href="../../d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp_source.html">kv_service_tools.cpp</a>.</p>

</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var service_2tools_2kv_2api__tools_2kv__service__tools_8cpp =
[
[ "main", "d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627", null ],
[ "OldAPI", "d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#adba68e5e482c460e2398c12081b802f9", null ],
[ "ShowUsage", "d8/d80/service_2tools_2kv_2api__tools_2kv__service__tools_8cpp.html#a91da2a7f6c244a57f3f8a5fa094dcb7b", null ]
];
Loading

0 comments on commit edc0d02

Please sign in to comment.