blob: c4e4c3b1065d7d039f9a7a4546d347529b2a2788 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.7.0/cppdoc/cache__client_8h_source.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<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.11"/>
<title>&nbsp; Apache Ignite C++: cache_client.h Source File</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></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="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</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="dir_6917c354dff0dc051d18bd3bcc3faea1.html">include</a></li><li class="navelem"><a class="el" href="dir_3785354546cb37560a212b468c73f89f.html">ignite</a></li><li class="navelem"><a class="el" href="dir_097f68cb7241bfc683e7bdc6c58a7783.html">thin</a></li><li class="navelem"><a class="el" href="dir_4c59fe678b7d839a2941d6346d743aa7.html">cache</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cache_client.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="cache__client_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_THIN_CACHE_CACHE_CLIENT</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_THIN_CACHE_CACHE_CLIENT</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ignite/common/concurrent.h&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/thin/writable.h&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/thin/writable_key.h&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/thin/readable.h&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/thin/cache/cache_client_proxy.h&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">namespace </span>thin</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; {</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">namespace </span>cache</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html"> 56</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html">CacheClient</a></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; {</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span>impl::thin::cache::CacheClientProxy;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a27d8e2533526122c277b1ea33d73f064"> 62</a></span>&#160; <span class="keyword">typedef</span> K <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a27d8e2533526122c277b1ea33d73f064">KeyType</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a0c4c44b1cc3a1498df116a1d9265b7e9"> 65</a></span>&#160; <span class="keyword">typedef</span> V <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a0c4c44b1cc3a1498df116a1d9265b7e9">ValueType</a>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae942c7ae26b148076557a3cc9bf31ff8"> 72</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae942c7ae26b148076557a3cc9bf31ff8">CacheClient</a>(common::concurrent::SharedPointer&lt;void&gt; impl) :</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; proxy(impl)</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a09a6d86b6377a12c63f3509785482a08"> 81</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a09a6d86b6377a12c63f3509785482a08">CacheClient</a>()</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; }</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a103c8328d3f48722ab84285e5c24429a"> 89</a></span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a103c8328d3f48722ab84285e5c24429a">~CacheClient</a>()</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; {</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; }</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a303bc7dcd7699cb5aacd6af3301e870b"> 100</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a303bc7dcd7699cb5aacd6af3301e870b">Put</a>(<span class="keyword">const</span> KeyType&amp; key, <span class="keyword">const</span> ValueType&amp; value)</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; impl::thin::WritableImpl&lt;ValueType&gt; wrValue(value);</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; proxy.Put(wrKey, wrValue);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; }</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> InIter&gt;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aeac4e48549a40391e2a6cc45c6722f78"> 116</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aeac4e48549a40391e2a6cc45c6722f78">PutAll</a>(InIter begin, InIter end)</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; {</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; impl::thin::WritableMapImpl&lt;K, V, InIter&gt; wrSeq(begin, end);</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; proxy.PutAll(wrSeq);</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; }</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Map&gt;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad72cb7fec2922cde1b9879eb38c0f21f"> 130</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad72cb7fec2922cde1b9879eb38c0f21f">PutAll</a>(<span class="keyword">const</span> Map&amp; vals)</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; {</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aeac4e48549a40391e2a6cc45c6722f78">PutAll</a>(vals.begin(), vals.end());</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; }</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;</div><div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a14d8d76f3fd30cf1963344b7a0d05571"> 141</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a14d8d76f3fd30cf1963344b7a0d05571">Get</a>(<span class="keyword">const</span> KeyType&amp; key, ValueType&amp; value)</div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; {</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; impl::thin::ReadableImpl&lt;ValueType&gt; rdValue(value);</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; proxy.Get(wrKey, rdValue);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a492e9314ac1c1c736a9836fd6a51890b"> 155</a></span>&#160; ValueType <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a492e9314ac1c1c736a9836fd6a51890b">Get</a>(<span class="keyword">const</span> KeyType&amp; key)</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; {</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; ValueType value;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a14d8d76f3fd30cf1963344b7a0d05571">Get</a>(key, value);</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> InIter, <span class="keyword">typename</span> OutIter&gt;</div><div class="line"><a name="l00175"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6b85d89fecdf1ff43e073bebae34407"> 175</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6b85d89fecdf1ff43e073bebae34407">GetAll</a>(InIter begin, InIter end, OutIter dst)</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; {</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; impl::thin::WritableSetImpl&lt;K, InIter&gt; wrSeq(begin, end);</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; impl::thin::ReadableMapImpl&lt;K, V, OutIter&gt; rdSeq(dst);</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; proxy.GetAll(wrSeq, rdSeq);</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; }</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Set, <span class="keyword">typename</span> Map&gt;</div><div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4b24cf4e80628f2fab07618a6105daca"> 193</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4b24cf4e80628f2fab07618a6105daca">GetAll</a>(<span class="keyword">const</span> Set&amp; keys, Map&amp; res)</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; {</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6b85d89fecdf1ff43e073bebae34407">GetAll</a>(keys.begin(), keys.end(), std::inserter(res, res.end()));</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; }</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae54f108fda3ecf71c9a2863b760ea476"> 210</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae54f108fda3ecf71c9a2863b760ea476">Replace</a>(<span class="keyword">const</span> K&amp; key, <span class="keyword">const</span> V&amp; value)</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; {</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; impl::thin::WritableImpl&lt;ValueType&gt; wrValue(value);</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordflow">return</span> proxy.Replace(wrKey, wrValue);</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; }</div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#adb51208ea8838db113f5cd1ed0a3706b"> 224</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#adb51208ea8838db113f5cd1ed0a3706b">ContainsKey</a>(<span class="keyword">const</span> KeyType&amp; key)</div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; {</div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> proxy.ContainsKey(wrKey);</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Set&gt;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a68f05513691c5de09f3d2d557ac61394"> 238</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a68f05513691c5de09f3d2d557ac61394">ContainsKeys</a>(<span class="keyword">const</span> Set&amp; keys)</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; {</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a68f05513691c5de09f3d2d557ac61394">ContainsKeys</a>(keys.begin(), keys.end());</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> InIter&gt;</div><div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a5e2ded2d1950dc4556ee4dbcf849a9eb"> 251</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a5e2ded2d1950dc4556ee4dbcf849a9eb">ContainsKeys</a>(InIter begin, InIter end)</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160; {</div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160; impl::thin::WritableSetImpl&lt;K, InIter&gt; wrSeq(begin, end);</div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div><div class="line"><a name="l00255"></a><span class="lineno"> 255</span>&#160; <span class="keywordflow">return</span> proxy.ContainsKeys(wrSeq);</div><div class="line"><a name="l00256"></a><span class="lineno"> 256</span>&#160; }</div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a9beb441de7e564cc71415a757cc3be29"> 267</a></span>&#160; int64_t <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a9beb441de7e564cc71415a757cc3be29">GetSize</a>(int32_t peekModes)</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; {</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; <span class="keywordflow">return</span> proxy.GetSize(peekModes);</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160; }</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div><div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6f6ee1de82feb3c8b4791f3b1632dc4"> 284</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6f6ee1de82feb3c8b4791f3b1632dc4">Remove</a>(<span class="keyword">const</span> KeyType&amp; key)</div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160; {</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span>&#160; <span class="keywordflow">return</span> proxy.Remove(wrKey);</div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span>&#160; }</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Set&gt;</div><div class="line"><a name="l00298"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad31ea272179b7424e6e59679d62759ba"> 298</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad31ea272179b7424e6e59679d62759ba">RemoveAll</a>(<span class="keyword">const</span> Set&amp; keys)</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160; {</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a79b8b0d8c42003dffed552a65fc6b582">RemoveAll</a>(keys.begin(), keys.end());</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160; }</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> InIter&gt;</div><div class="line"><a name="l00311"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a45ff3472405cdce705938f219544a3c9"> 311</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a45ff3472405cdce705938f219544a3c9">RemoveAll</a>(InIter begin, InIter end)</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160; {</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160; impl::thin::WritableSetImpl&lt;K, InIter&gt; wrSeq(begin, end);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160; proxy.RemoveAll(wrSeq);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160; }</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a79b8b0d8c42003dffed552a65fc6b582"> 323</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a79b8b0d8c42003dffed552a65fc6b582">RemoveAll</a>()</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span>&#160; {</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>&#160; proxy.RemoveAll();</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160; }</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a1ad68bf064989c3fcfa31b14061b888c"> 334</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a1ad68bf064989c3fcfa31b14061b888c">Clear</a>(<span class="keyword">const</span> KeyType&amp; key)</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160; {</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>&#160; impl::thin::WritableKeyImpl&lt;KeyType&gt; wrKey(key);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160; proxy.Clear(wrKey);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160; }</div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a83fbdf124a17e3564b3e9dc5302a2a52"> 344</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a83fbdf124a17e3564b3e9dc5302a2a52">Clear</a>()</div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160; {</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160; proxy.Clear();</div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160; }</div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> Set&gt;</div><div class="line"><a name="l00356"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4e5213be2d0327207b29630527aff40a"> 356</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4e5213be2d0327207b29630527aff40a">ClearAll</a>(<span class="keyword">const</span> Set&amp; keys)</div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160; {</div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160; <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4e5213be2d0327207b29630527aff40a">ClearAll</a>(keys.begin(), keys.end());</div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160; }</div><div class="line"><a name="l00360"></a><span class="lineno"> 360</span>&#160;</div><div class="line"><a name="l00368"></a><span class="lineno"> 368</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> InIter&gt;</div><div class="line"><a name="l00369"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a8dad79827ec0125ba03a27d7eced1d97"> 369</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a8dad79827ec0125ba03a27d7eced1d97">ClearAll</a>(InIter begin, InIter end)</div><div class="line"><a name="l00370"></a><span class="lineno"> 370</span>&#160; {</div><div class="line"><a name="l00371"></a><span class="lineno"> 371</span>&#160; impl::thin::WritableSetImpl&lt;K, InIter&gt; wrSeq(begin, end);</div><div class="line"><a name="l00372"></a><span class="lineno"> 372</span>&#160;</div><div class="line"><a name="l00373"></a><span class="lineno"> 373</span>&#160; proxy.ClearAll(wrSeq);</div><div class="line"><a name="l00374"></a><span class="lineno"> 374</span>&#160; }</div><div class="line"><a name="l00375"></a><span class="lineno"> 375</span>&#160;</div><div class="line"><a name="l00385"></a><span class="lineno"><a class="line" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aa35aa36ae9914a0ded65714bdb4e9a37"> 385</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aa35aa36ae9914a0ded65714bdb4e9a37">RefreshAffinityMapping</a>()</div><div class="line"><a name="l00386"></a><span class="lineno"> 386</span>&#160; {</div><div class="line"><a name="l00387"></a><span class="lineno"> 387</span>&#160; proxy.RefreshAffinityMapping();</div><div class="line"><a name="l00388"></a><span class="lineno"> 388</span>&#160; }</div><div class="line"><a name="l00389"></a><span class="lineno"> 389</span>&#160;</div><div class="line"><a name="l00390"></a><span class="lineno"> 390</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00392"></a><span class="lineno"> 392</span>&#160; impl::thin::cache::CacheClientProxy proxy;</div><div class="line"><a name="l00393"></a><span class="lineno"> 393</span>&#160; };</div><div class="line"><a name="l00394"></a><span class="lineno"> 394</span>&#160; }</div><div class="line"><a name="l00395"></a><span class="lineno"> 395</span>&#160; }</div><div class="line"><a name="l00396"></a><span class="lineno"> 396</span>&#160;}</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;<span class="preprocessor">#endif // _IGNITE_THIN_CACHE_CACHE_CLIENT</span></div><div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a0c4c44b1cc3a1498df116a1d9265b7e9"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a0c4c44b1cc3a1498df116a1d9265b7e9">ignite::thin::cache::CacheClient::ValueType</a></div><div class="ttdeci">V ValueType</div><div class="ttdoc">Value type. </div><div class="ttdef"><b>Definition:</b> cache_client.h:65</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_af6b85d89fecdf1ff43e073bebae34407"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6b85d89fecdf1ff43e073bebae34407">ignite::thin::cache::CacheClient::GetAll</a></div><div class="ttdeci">void GetAll(InIter begin, InIter end, OutIter dst)</div><div class="ttdoc">Retrieves values mapped to the specified keys from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:175</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a79b8b0d8c42003dffed552a65fc6b582"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a79b8b0d8c42003dffed552a65fc6b582">ignite::thin::cache::CacheClient::RemoveAll</a></div><div class="ttdeci">void RemoveAll()</div><div class="ttdoc">Removes all mappings from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:323</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_ae942c7ae26b148076557a3cc9bf31ff8"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae942c7ae26b148076557a3cc9bf31ff8">ignite::thin::cache::CacheClient::CacheClient</a></div><div class="ttdeci">CacheClient(common::concurrent::SharedPointer&lt; void &gt; impl)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> cache_client.h:72</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a9beb441de7e564cc71415a757cc3be29"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a9beb441de7e564cc71415a757cc3be29">ignite::thin::cache::CacheClient::GetSize</a></div><div class="ttdeci">int64_t GetSize(int32_t peekModes)</div><div class="ttdoc">Gets the number of all entries cached across all nodes. </div><div class="ttdef"><b>Definition:</b> cache_client.h:267</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a45ff3472405cdce705938f219544a3c9"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a45ff3472405cdce705938f219544a3c9">ignite::thin::cache::CacheClient::RemoveAll</a></div><div class="ttdeci">void RemoveAll(InIter begin, InIter end)</div><div class="ttdoc">Removes given key mappings from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:311</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a27d8e2533526122c277b1ea33d73f064"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a27d8e2533526122c277b1ea33d73f064">ignite::thin::cache::CacheClient::KeyType</a></div><div class="ttdeci">K KeyType</div><div class="ttdoc">Key type. </div><div class="ttdef"><b>Definition:</b> cache_client.h:62</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a5e2ded2d1950dc4556ee4dbcf849a9eb"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a5e2ded2d1950dc4556ee4dbcf849a9eb">ignite::thin::cache::CacheClient::ContainsKeys</a></div><div class="ttdeci">bool ContainsKeys(InIter begin, InIter end)</div><div class="ttdoc">Check if cache contains mapping for these keys. </div><div class="ttdef"><b>Definition:</b> cache_client.h:251</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a103c8328d3f48722ab84285e5c24429a"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a103c8328d3f48722ab84285e5c24429a">ignite::thin::cache::CacheClient::~CacheClient</a></div><div class="ttdeci">~CacheClient()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> cache_client.h:89</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_ae54f108fda3ecf71c9a2863b760ea476"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ae54f108fda3ecf71c9a2863b760ea476">ignite::thin::cache::CacheClient::Replace</a></div><div class="ttdeci">bool Replace(const K &amp;key, const V &amp;value)</div><div class="ttdoc">Stores given key-value pair in cache only if there is a previous mapping for it. </div><div class="ttdef"><b>Definition:</b> cache_client.h:210</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a492e9314ac1c1c736a9836fd6a51890b"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a492e9314ac1c1c736a9836fd6a51890b">ignite::thin::cache::CacheClient::Get</a></div><div class="ttdeci">ValueType Get(const KeyType &amp;key)</div><div class="ttdoc">Get value from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:155</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_ad72cb7fec2922cde1b9879eb38c0f21f"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad72cb7fec2922cde1b9879eb38c0f21f">ignite::thin::cache::CacheClient::PutAll</a></div><div class="ttdeci">void PutAll(const Map &amp;vals)</div><div class="ttdoc">Stores given key-value pairs in cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:130</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_aeac4e48549a40391e2a6cc45c6722f78"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aeac4e48549a40391e2a6cc45c6722f78">ignite::thin::cache::CacheClient::PutAll</a></div><div class="ttdeci">void PutAll(InIter begin, InIter end)</div><div class="ttdoc">Stores given key-value pairs in cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:116</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a09a6d86b6377a12c63f3509785482a08"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a09a6d86b6377a12c63f3509785482a08">ignite::thin::cache::CacheClient::CacheClient</a></div><div class="ttdeci">CacheClient()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> cache_client.h:81</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a68f05513691c5de09f3d2d557ac61394"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a68f05513691c5de09f3d2d557ac61394">ignite::thin::cache::CacheClient::ContainsKeys</a></div><div class="ttdeci">bool ContainsKeys(const Set &amp;keys)</div><div class="ttdoc">Check if cache contains mapping for these keys. </div><div class="ttdef"><b>Definition:</b> cache_client.h:238</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a1ad68bf064989c3fcfa31b14061b888c"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a1ad68bf064989c3fcfa31b14061b888c">ignite::thin::cache::CacheClient::Clear</a></div><div class="ttdeci">void Clear(const KeyType &amp;key)</div><div class="ttdoc">Clear entry from the cache and swap storage, without notifying listeners or CacheWriters. </div><div class="ttdef"><b>Definition:</b> cache_client.h:334</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a303bc7dcd7699cb5aacd6af3301e870b"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a303bc7dcd7699cb5aacd6af3301e870b">ignite::thin::cache::CacheClient::Put</a></div><div class="ttdeci">void Put(const KeyType &amp;key, const ValueType &amp;value)</div><div class="ttdoc">Associate the specified value with the specified key in the cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:100</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_aa35aa36ae9914a0ded65714bdb4e9a37"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#aa35aa36ae9914a0ded65714bdb4e9a37">ignite::thin::cache::CacheClient::RefreshAffinityMapping</a></div><div class="ttdeci">void RefreshAffinityMapping()</div><div class="ttdoc">Refresh affinity mapping. </div><div class="ttdef"><b>Definition:</b> cache_client.h:385</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a4b24cf4e80628f2fab07618a6105daca"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4b24cf4e80628f2fab07618a6105daca">ignite::thin::cache::CacheClient::GetAll</a></div><div class="ttdeci">void GetAll(const Set &amp;keys, Map &amp;res)</div><div class="ttdoc">Retrieves values mapped to the specified keys from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:193</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html">ignite::thin::cache::CacheClient</a></div><div class="ttdoc">Cache client class template. </div><div class="ttdef"><b>Definition:</b> cache_client.h:56</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_af6f6ee1de82feb3c8b4791f3b1632dc4"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#af6f6ee1de82feb3c8b4791f3b1632dc4">ignite::thin::cache::CacheClient::Remove</a></div><div class="ttdeci">bool Remove(const KeyType &amp;key)</div><div class="ttdoc">Removes given key mapping from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:284</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_ad31ea272179b7424e6e59679d62759ba"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#ad31ea272179b7424e6e59679d62759ba">ignite::thin::cache::CacheClient::RemoveAll</a></div><div class="ttdeci">void RemoveAll(const Set &amp;keys)</div><div class="ttdoc">Removes given key mappings from cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:298</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a8dad79827ec0125ba03a27d7eced1d97"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a8dad79827ec0125ba03a27d7eced1d97">ignite::thin::cache::CacheClient::ClearAll</a></div><div class="ttdeci">void ClearAll(InIter begin, InIter end)</div><div class="ttdoc">Clear entries from the cache and swap storage, without notifying listeners or CacheWriters. </div><div class="ttdef"><b>Definition:</b> cache_client.h:369</div></div>
<div class="ttc" id="namespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API. </div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_adb51208ea8838db113f5cd1ed0a3706b"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#adb51208ea8838db113f5cd1ed0a3706b">ignite::thin::cache::CacheClient::ContainsKey</a></div><div class="ttdeci">bool ContainsKey(const KeyType &amp;key)</div><div class="ttdoc">Check if the cache contains a value for the specified key. </div><div class="ttdef"><b>Definition:</b> cache_client.h:224</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a4e5213be2d0327207b29630527aff40a"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a4e5213be2d0327207b29630527aff40a">ignite::thin::cache::CacheClient::ClearAll</a></div><div class="ttdeci">void ClearAll(const Set &amp;keys)</div><div class="ttdoc">Clear entries from the cache and swap storage, without notifying listeners or CacheWriters. </div><div class="ttdef"><b>Definition:</b> cache_client.h:356</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a83fbdf124a17e3564b3e9dc5302a2a52"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a83fbdf124a17e3564b3e9dc5302a2a52">ignite::thin::cache::CacheClient::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdoc">Clear cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:344</div></div>
<div class="ttc" id="classignite_1_1thin_1_1cache_1_1CacheClient_html_a14d8d76f3fd30cf1963344b7a0d05571"><div class="ttname"><a href="classignite_1_1thin_1_1cache_1_1CacheClient.html#a14d8d76f3fd30cf1963344b7a0d05571">ignite::thin::cache::CacheClient::Get</a></div><div class="ttdeci">void Get(const KeyType &amp;key, ValueType &amp;value)</div><div class="ttdoc">Get value from the cache. </div><div class="ttdef"><b>Definition:</b> cache_client.h:141</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Nov 30 2018 20:09:21 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>