| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.17"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title> Apache Ignite C++: cache.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> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td> |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname"> Apache Ignite C++ |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.17 --> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| /* @license-end */ |
| </script> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',true,false,'search.php','Search'); |
| $(document).ready(function() { init_search(); }); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| </div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_1d5505cee217f179c88903b7091c150e.html">cache</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">cache.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="cache_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> <span class="comment">/*</span></div> |
| <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <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> <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> <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> <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> <span class="comment"> * (the "License"); you may not use this file except in compliance with</span></div> |
| <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <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> <span class="comment"> *</span></div> |
| <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <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> <span class="comment"> *</span></div> |
| <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <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> <span class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</span></div> |
| <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <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> <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> <span class="comment"> * limitations under the License.</span></div> |
| <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> */</span></div> |
| <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div> |
| <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef _IGNITE_CACHE_CACHE</span></div> |
| <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define _IGNITE_CACHE_CACHE</span></div> |
| <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div> |
| <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <map></span></div> |
| <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <set></span></div> |
| <div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  </div> |
| <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <ignite/common/common.h></span></div> |
| <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <ignite/common/concurrent.h></span></div> |
| <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <<a class="code" href="ignite__error_8h.html">ignite/ignite_error.h</a>></span></div> |
| <div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div> |
| <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#include <<a class="code" href="core_2include_2ignite_2cache_2cache__peek__mode_8h.html">ignite/cache/cache_peek_mode.h</a>></span></div> |
| <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#include <<a class="code" href="query__cursor_8h.html">ignite/cache/query/query_cursor.h</a>></span></div> |
| <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#include <<a class="code" href="core_2include_2ignite_2cache_2query_2query__fields__cursor_8h.html">ignite/cache/query/query_fields_cursor.h</a>></span></div> |
| <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#include <<a class="code" href="query__scan_8h.html">ignite/cache/query/query_scan.h</a>></span></div> |
| <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include <<a class="code" href="query__sql_8h.html">ignite/cache/query/query_sql.h</a>></span></div> |
| <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include <<a class="code" href="query__text_8h.html">ignite/cache/query/query_text.h</a>></span></div> |
| <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#include <<a class="code" href="core_2include_2ignite_2cache_2query_2query__sql__fields_8h.html">ignite/cache/query/query_sql_fields.h</a>></span></div> |
| <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#include <<a class="code" href="continuous__query__handle_8h.html">ignite/cache/query/continuous/continuous_query_handle.h</a>></span></div> |
| <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#include <<a class="code" href="continuous__query_8h.html">ignite/cache/query/continuous/continuous_query.h</a>></span></div> |
| <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#include <ignite/impl/cache/cache_impl.h></span></div> |
| <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#include <ignite/impl/cache/cache_entry_processor_holder.h></span></div> |
| <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#include <ignite/impl/operations.h></span></div> |
| <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#include <ignite/impl/module_manager.h></span></div> |
| <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#include <<a class="code" href="ignite__error_8h.html">ignite/ignite_error.h</a>></span></div> |
| <div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div> |
| <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="namespaceignite.html"> 48</a></span> <span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div> |
| <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> {</div> |
| <div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="namespaceignite_1_1cache.html"> 50</a></span>  <span class="keyword">namespace </span>cache</div> |
| <div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  {</div> |
| <div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">template</span><<span class="keyword">typename</span> K, <span class="keyword">typename</span> V></div> |
| <div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html"> 68</a></span>  <span class="keyword">class </span>IGNITE_IMPORT_EXPORT <a class="code" href="classignite_1_1cache_1_1Cache.html">Cache</a></div> |
| <div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  {</div> |
| <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">public</span>:</div> |
| <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ad5028ce3aa42ed7f8c3e4304e7b5653b"> 78</a></span>  <a class="code" href="classignite_1_1cache_1_1Cache.html#ad5028ce3aa42ed7f8c3e4304e7b5653b">Cache</a>(impl::cache::CacheImpl* impl) :</div> |
| <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  impl(impl)</div> |
| <div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  {</div> |
| <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// No-op.</span></div> |
| <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  }</div> |
| <div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  </div> |
| <div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aae53c176707edc83467047110365473f"> 91</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classignite_1_1cache_1_1Cache.html#aae53c176707edc83467047110365473f">GetName</a>()<span class="keyword"> const</span></div> |
| <div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keyword"> </span>{</div> |
| <div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keywordflow">return</span> impl.Get()->GetName();</div> |
| <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div> |
| <div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div> |
| <div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a60db60b4b35fbaf00e542c76b1927707"> 104</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a60db60b4b35fbaf00e542c76b1927707">IsEmpty</a>()</div> |
| <div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  {</div> |
| <div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  </div> |
| <div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">bool</span> res = IsEmpty(err);</div> |
| <div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  </div> |
| <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  </div> |
| <div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div> |
| <div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  </div> |
| <div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aac2e29657a3ad0f8be0c82db1d6dd78f"> 124</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#aac2e29657a3ad0f8be0c82db1d6dd78f">IsEmpty</a>(<a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  {</div> |
| <div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keywordflow">return</span> Size(err) == 0;</div> |
| <div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div> |
| <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  </div> |
| <div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a50dc8bbe041c277eb2c8f546cd343167"> 137</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a50dc8bbe041c277eb2c8f546cd343167">ContainsKey</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  {</div> |
| <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div> |
| <div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">bool</span> res = ContainsKey(key, err);</div> |
| <div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  </div> |
| <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  </div> |
| <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  }</div> |
| <div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  </div> |
| <div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#afab73114323001dbb7edebbcf011be0d"> 157</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#afab73114323001dbb7edebbcf011be0d">ContainsKey</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  {</div> |
| <div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  impl::In1Operation<K> op(key);</div> |
| <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div> |
| <div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span> impl.Get()->ContainsKey(op, err);</div> |
| <div class="line"><a name="l00162"></a><span class="lineno"> 162</span>  }</div> |
| <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  </div> |
| <div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a2059398f1e0dcb39daf0f437a99fb9be"> 172</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a2059398f1e0dcb39daf0f437a99fb9be">ContainsKeys</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  {</div> |
| <div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  </div> |
| <div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="keywordtype">bool</span> res = ContainsKeys(keys, err);</div> |
| <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  </div> |
| <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  </div> |
| <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  }</div> |
| <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  </div> |
| <div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  <span class="keyword">template</span><<span class="keyword">typename</span> InputIter></div> |
| <div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a089a84634bfe5ddf0f4db0c31f7a6a26"> 193</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a089a84634bfe5ddf0f4db0c31f7a6a26">ContainsKeys</a>(InputIter begin, InputIter end)</div> |
| <div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  {</div> |
| <div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  </div> |
| <div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  impl::InIterOperation<K, V, InputIter> op(begin, end);</div> |
| <div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  </div> |
| <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keywordtype">bool</span> res = impl.Get()->ContainsKeys(op, err);</div> |
| <div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  </div> |
| <div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  </div> |
| <div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  }</div> |
| <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  </div> |
| <div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a6cdca32b50dba8b000e6dcb3ed6f893a"> 215</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a6cdca32b50dba8b000e6dcb3ed6f893a">ContainsKeys</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  {</div> |
| <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  impl::InSetOperation<K> op(keys);</div> |
| <div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  </div> |
| <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keywordflow">return</span> impl.Get()->ContainsKeys(op, err);</div> |
| <div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  }</div> |
| <div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  </div> |
| <div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a02ad1e06c09574e7008b417a27eba5f3"> 235</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a02ad1e06c09574e7008b417a27eba5f3">LocalPeek</a>(<span class="keyword">const</span> K& key, int32_t peekModes)</div> |
| <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  {</div> |
| <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div> |
| <div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  V res = LocalPeek(key, peekModes, err);</div> |
| <div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  </div> |
| <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  </div> |
| <div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  }</div> |
| <div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div> |
| <div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a16ea86d2b3f19ffd7c024eeb03cb2124"> 260</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a16ea86d2b3f19ffd7c024eeb03cb2124">LocalPeek</a>(<span class="keyword">const</span> K& key, int32_t peekModes, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  {</div> |
| <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  V val;</div> |
| <div class="line"><a name="l00263"></a><span class="lineno"> 263</span>  </div> |
| <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  impl::InCacheLocalPeekOperation<K> inOp(key, peekModes);</div> |
| <div class="line"><a name="l00265"></a><span class="lineno"> 265</span>  impl::Out1Operation<V> outOp(val);</div> |
| <div class="line"><a name="l00266"></a><span class="lineno"> 266</span>  </div> |
| <div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  impl.Get()->LocalPeek(inOp, outOp, err);</div> |
| <div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  </div> |
| <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordflow">return</span> val;</div> |
| <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  }</div> |
| <div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  </div> |
| <div class="line"><a name="l00284"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a5ca8ec1f2d66762816de72b57c5cbdb0"> 284</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a5ca8ec1f2d66762816de72b57c5cbdb0">Get</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  {</div> |
| <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  </div> |
| <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  V res = Get(key, err);</div> |
| <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  </div> |
| <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  </div> |
| <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  }</div> |
| <div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  </div> |
| <div class="line"><a name="l00308"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a54bf114b9d8b45f2588659b217ffd9d9"> 308</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a54bf114b9d8b45f2588659b217ffd9d9">Get</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  {</div> |
| <div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  V val;</div> |
| <div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  impl::In1Operation<K> inOp(key);</div> |
| <div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  impl::Out1Operation<V> outOp(val);</div> |
| <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  </div> |
| <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  impl.Get()->Get(inOp, outOp, err);</div> |
| <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  </div> |
| <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <span class="keywordflow">return</span> val;</div> |
| <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  }</div> |
| <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  </div> |
| <div class="line"><a name="l00331"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aba088938308bb2a01233a55cfd8ef546"> 331</a></span>  std::map<K, V> <a class="code" href="classignite_1_1cache_1_1Cache.html#aba088938308bb2a01233a55cfd8ef546">GetAll</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  {</div> |
| <div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div> |
| <div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  std::map<K, V> res = GetAll(keys, err);</div> |
| <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  </div> |
| <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  </div> |
| <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  }</div> |
| <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  </div> |
| <div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ac341a3ac21b498e0a393851b1a0844c9"> 355</a></span>  std::map<K, V> <a class="code" href="classignite_1_1cache_1_1Cache.html#ac341a3ac21b498e0a393851b1a0844c9">GetAll</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  {</div> |
| <div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  std::map<K, V> res;</div> |
| <div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  </div> |
| <div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  impl::InSetOperation<K> inOp(keys);</div> |
| <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  impl::OutMapOperation<K, V> outOp(res);</div> |
| <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  </div> |
| <div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  impl.Get()->GetAll(inOp, outOp, err);</div> |
| <div class="line"><a name="l00363"></a><span class="lineno"> 363</span>  </div> |
| <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  }</div> |
| <div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  </div> |
| <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keyword">template</span><<span class="keyword">typename</span> InIter, <span class="keyword">typename</span> OutIter></div> |
| <div class="line"><a name="l00381"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a5e96ce4a9292d05c1937383fb576a936"> 381</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a5e96ce4a9292d05c1937383fb576a936">GetAll</a>(InIter begin, InIter end, OutIter dst)</div> |
| <div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  {</div> |
| <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  </div> |
| <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  impl::InIterOperation<K, V, InIter> inOp(begin, end);</div> |
| <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  impl::OutMapIterOperation<K, V, OutIter> outOp(dst);</div> |
| <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  </div> |
| <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  impl.Get()->GetAll(inOp, outOp, err);</div> |
| <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  </div> |
| <div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div> |
| <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  </div> |
| <div class="line"><a name="l00403"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a236ef50fa610c713e5284cefa4a325a9"> 403</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a236ef50fa610c713e5284cefa4a325a9">Put</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  {</div> |
| <div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  </div> |
| <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  Put(key, val, err);</div> |
| <div class="line"><a name="l00408"></a><span class="lineno"> 408</span>  </div> |
| <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  }</div> |
| <div class="line"><a name="l00411"></a><span class="lineno"> 411</span>  </div> |
| <div class="line"><a name="l00423"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a31bbcdeb410146e389f751c8ec94bf95"> 423</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a31bbcdeb410146e389f751c8ec94bf95">Put</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  {</div> |
| <div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  impl::In2Operation<K, V> op(key, val);</div> |
| <div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  </div> |
| <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  impl.Get()->Put(op, err);</div> |
| <div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  }</div> |
| <div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  </div> |
| <div class="line"><a name="l00439"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a26753649804a932daee2e3e43c4df74c"> 439</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a26753649804a932daee2e3e43c4df74c">PutAll</a>(<span class="keyword">const</span> std::map<K, V>& vals)</div> |
| <div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  {</div> |
| <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  </div> |
| <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  PutAll(vals, err);</div> |
| <div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  </div> |
| <div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  }</div> |
| <div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div> |
| <div class="line"><a name="l00458"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ac84472f375ba3fcc1a4af80756dfd6ba"> 458</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ac84472f375ba3fcc1a4af80756dfd6ba">PutAll</a>(<span class="keyword">const</span> std::map<K, V>& vals, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  {</div> |
| <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  impl::InMapOperation<K, V> op(vals);</div> |
| <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  </div> |
| <div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  impl.Get()->PutAll(op, err);</div> |
| <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  }</div> |
| <div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  </div> |
| <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iter></div> |
| <div class="line"><a name="l00479"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#abef0fa0e9ab2c0d6194149f9084dd2af"> 479</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#abef0fa0e9ab2c0d6194149f9084dd2af">PutAll</a>(Iter begin, Iter end)</div> |
| <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  {</div> |
| <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  </div> |
| <div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  impl::InIterOperation<K, V, Iter> op(begin, end);</div> |
| <div class="line"><a name="l00484"></a><span class="lineno"> 484</span>  </div> |
| <div class="line"><a name="l00485"></a><span class="lineno"> 485</span>  impl.Get()->PutAll(op, err);</div> |
| <div class="line"><a name="l00486"></a><span class="lineno"> 486</span>  </div> |
| <div class="line"><a name="l00487"></a><span class="lineno"> 487</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00488"></a><span class="lineno"> 488</span>  }</div> |
| <div class="line"><a name="l00489"></a><span class="lineno"> 489</span>  </div> |
| <div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#af7b537114aa4c59439d56c1ce33f707c"> 501</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#af7b537114aa4c59439d56c1ce33f707c">GetAndPut</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00502"></a><span class="lineno"> 502</span>  {</div> |
| <div class="line"><a name="l00503"></a><span class="lineno"> 503</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  </div> |
| <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  V res = GetAndPut(key, val, err);</div> |
| <div class="line"><a name="l00506"></a><span class="lineno"> 506</span>  </div> |
| <div class="line"><a name="l00507"></a><span class="lineno"> 507</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00508"></a><span class="lineno"> 508</span>  </div> |
| <div class="line"><a name="l00509"></a><span class="lineno"> 509</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00510"></a><span class="lineno"> 510</span>  }</div> |
| <div class="line"><a name="l00511"></a><span class="lineno"> 511</span>  </div> |
| <div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#acc4c1512f82c0dee61e39834edc2aae3"> 524</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#acc4c1512f82c0dee61e39834edc2aae3">GetAndPut</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00525"></a><span class="lineno"> 525</span>  {</div> |
| <div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  V oldVal;</div> |
| <div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  </div> |
| <div class="line"><a name="l00528"></a><span class="lineno"> 528</span>  impl::In2Operation<K, V> inOp(key, val);</div> |
| <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  impl::Out1Operation<V> outOp(oldVal);</div> |
| <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  </div> |
| <div class="line"><a name="l00531"></a><span class="lineno"> 531</span>  impl.Get()->GetAndPut(inOp, outOp, err);</div> |
| <div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  </div> |
| <div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <span class="keywordflow">return</span> oldVal;</div> |
| <div class="line"><a name="l00534"></a><span class="lineno"> 534</span>  }</div> |
| <div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  </div> |
| <div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a248126e1b19e58616e0b82915b41b71b"> 547</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a248126e1b19e58616e0b82915b41b71b">GetAndReplace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  {</div> |
| <div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00550"></a><span class="lineno"> 550</span>  </div> |
| <div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  V res = GetAndReplace(key, val, err);</div> |
| <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  </div> |
| <div class="line"><a name="l00553"></a><span class="lineno"> 553</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00554"></a><span class="lineno"> 554</span>  </div> |
| <div class="line"><a name="l00555"></a><span class="lineno"> 555</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  }</div> |
| <div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  </div> |
| <div class="line"><a name="l00570"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a70362d6d3e9ec212d8bbfe3b33049b58"> 570</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a70362d6d3e9ec212d8bbfe3b33049b58">GetAndReplace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00571"></a><span class="lineno"> 571</span>  {</div> |
| <div class="line"><a name="l00572"></a><span class="lineno"> 572</span>  V oldVal;</div> |
| <div class="line"><a name="l00573"></a><span class="lineno"> 573</span>  </div> |
| <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  impl::In2Operation<K, V> inOp(key, val);</div> |
| <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  impl::Out1Operation<V> outOp(oldVal);</div> |
| <div class="line"><a name="l00576"></a><span class="lineno"> 576</span>  </div> |
| <div class="line"><a name="l00577"></a><span class="lineno"> 577</span>  impl.Get()->GetAndReplace(inOp, outOp, err);</div> |
| <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  </div> |
| <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  <span class="keywordflow">return</span> oldVal;</div> |
| <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  }</div> |
| <div class="line"><a name="l00581"></a><span class="lineno"> 581</span>  </div> |
| <div class="line"><a name="l00590"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aff04aec634d377836ae597e6e1f34e9b"> 590</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#aff04aec634d377836ae597e6e1f34e9b">GetAndRemove</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  {</div> |
| <div class="line"><a name="l00592"></a><span class="lineno"> 592</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00593"></a><span class="lineno"> 593</span>  </div> |
| <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  V res = GetAndRemove(key, err);</div> |
| <div class="line"><a name="l00595"></a><span class="lineno"> 595</span>  </div> |
| <div class="line"><a name="l00596"></a><span class="lineno"> 596</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00597"></a><span class="lineno"> 597</span>  </div> |
| <div class="line"><a name="l00598"></a><span class="lineno"> 598</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00599"></a><span class="lineno"> 599</span>  }</div> |
| <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  </div> |
| <div class="line"><a name="l00610"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#af3ed66837afc1e20a93faa0500522ba2"> 610</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#af3ed66837afc1e20a93faa0500522ba2">GetAndRemove</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00611"></a><span class="lineno"> 611</span>  {</div> |
| <div class="line"><a name="l00612"></a><span class="lineno"> 612</span>  V oldVal;</div> |
| <div class="line"><a name="l00613"></a><span class="lineno"> 613</span>  </div> |
| <div class="line"><a name="l00614"></a><span class="lineno"> 614</span>  impl::In1Operation<K> inOp(key);</div> |
| <div class="line"><a name="l00615"></a><span class="lineno"> 615</span>  impl::Out1Operation<V> outOp(oldVal);</div> |
| <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>  </div> |
| <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  impl.Get()->GetAndRemove(inOp, outOp, err);</div> |
| <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  </div> |
| <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>  <span class="keywordflow">return</span> oldVal;</div> |
| <div class="line"><a name="l00620"></a><span class="lineno"> 620</span>  }</div> |
| <div class="line"><a name="l00621"></a><span class="lineno"> 621</span>  </div> |
| <div class="line"><a name="l00632"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a70354d0a96bb4f5174beb0f90188e24d"> 632</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a70354d0a96bb4f5174beb0f90188e24d">PutIfAbsent</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00633"></a><span class="lineno"> 633</span>  {</div> |
| <div class="line"><a name="l00634"></a><span class="lineno"> 634</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  </div> |
| <div class="line"><a name="l00636"></a><span class="lineno"> 636</span>  <span class="keywordtype">bool</span> res = PutIfAbsent(key, val, err);</div> |
| <div class="line"><a name="l00637"></a><span class="lineno"> 637</span>  </div> |
| <div class="line"><a name="l00638"></a><span class="lineno"> 638</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00639"></a><span class="lineno"> 639</span>  </div> |
| <div class="line"><a name="l00640"></a><span class="lineno"> 640</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00641"></a><span class="lineno"> 641</span>  }</div> |
| <div class="line"><a name="l00642"></a><span class="lineno"> 642</span>  </div> |
| <div class="line"><a name="l00654"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a63ad65a7a78decf7c23c38935f27ea03"> 654</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a63ad65a7a78decf7c23c38935f27ea03">PutIfAbsent</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00655"></a><span class="lineno"> 655</span>  {</div> |
| <div class="line"><a name="l00656"></a><span class="lineno"> 656</span>  impl::In2Operation<K, V> op(key, val);</div> |
| <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  </div> |
| <div class="line"><a name="l00658"></a><span class="lineno"> 658</span>  <span class="keywordflow">return</span> impl.Get()->PutIfAbsent(op, err);</div> |
| <div class="line"><a name="l00659"></a><span class="lineno"> 659</span>  }</div> |
| <div class="line"><a name="l00660"></a><span class="lineno"> 660</span>  </div> |
| <div class="line"><a name="l00679"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a48ae216436a9ea4c84f7a0b05d21af25"> 679</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#a48ae216436a9ea4c84f7a0b05d21af25">GetAndPutIfAbsent</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00680"></a><span class="lineno"> 680</span>  {</div> |
| <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>  </div> |
| <div class="line"><a name="l00683"></a><span class="lineno"> 683</span>  V res = GetAndPutIfAbsent(key, val, err);</div> |
| <div class="line"><a name="l00684"></a><span class="lineno"> 684</span>  </div> |
| <div class="line"><a name="l00685"></a><span class="lineno"> 685</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00686"></a><span class="lineno"> 686</span>  </div> |
| <div class="line"><a name="l00687"></a><span class="lineno"> 687</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00688"></a><span class="lineno"> 688</span>  }</div> |
| <div class="line"><a name="l00689"></a><span class="lineno"> 689</span>  </div> |
| <div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ab70b4492873790a2fe44d33b177a397e"> 709</a></span>  V <a class="code" href="classignite_1_1cache_1_1Cache.html#ab70b4492873790a2fe44d33b177a397e">GetAndPutIfAbsent</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>  {</div> |
| <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>  V oldVal;</div> |
| <div class="line"><a name="l00712"></a><span class="lineno"> 712</span>  </div> |
| <div class="line"><a name="l00713"></a><span class="lineno"> 713</span>  impl::In2Operation<K, V> inOp(key, val);</div> |
| <div class="line"><a name="l00714"></a><span class="lineno"> 714</span>  impl::Out1Operation<V> outOp(oldVal);</div> |
| <div class="line"><a name="l00715"></a><span class="lineno"> 715</span>  </div> |
| <div class="line"><a name="l00716"></a><span class="lineno"> 716</span>  impl.Get()->GetAndPutIfAbsent(inOp, outOp, err);</div> |
| <div class="line"><a name="l00717"></a><span class="lineno"> 717</span>  </div> |
| <div class="line"><a name="l00718"></a><span class="lineno"> 718</span>  <span class="keywordflow">return</span> oldVal;</div> |
| <div class="line"><a name="l00719"></a><span class="lineno"> 719</span>  }</div> |
| <div class="line"><a name="l00720"></a><span class="lineno"> 720</span>  </div> |
| <div class="line"><a name="l00736"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#adbf5d383274b5a54635fe28af2bdf84f"> 736</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#adbf5d383274b5a54635fe28af2bdf84f">Replace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l00737"></a><span class="lineno"> 737</span>  {</div> |
| <div class="line"><a name="l00738"></a><span class="lineno"> 738</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  </div> |
| <div class="line"><a name="l00740"></a><span class="lineno"> 740</span>  <span class="keywordtype">bool</span> res = Replace(key, val, err);</div> |
| <div class="line"><a name="l00741"></a><span class="lineno"> 741</span>  </div> |
| <div class="line"><a name="l00742"></a><span class="lineno"> 742</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00743"></a><span class="lineno"> 743</span>  </div> |
| <div class="line"><a name="l00744"></a><span class="lineno"> 744</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00745"></a><span class="lineno"> 745</span>  }</div> |
| <div class="line"><a name="l00746"></a><span class="lineno"> 746</span>  </div> |
| <div class="line"><a name="l00763"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a41425d05762324590ca3d4c814cad23e"> 763</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a41425d05762324590ca3d4c814cad23e">Replace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00764"></a><span class="lineno"> 764</span>  {</div> |
| <div class="line"><a name="l00765"></a><span class="lineno"> 765</span>  impl::In2Operation<K, V> op(key, val);</div> |
| <div class="line"><a name="l00766"></a><span class="lineno"> 766</span>  </div> |
| <div class="line"><a name="l00767"></a><span class="lineno"> 767</span>  <span class="keywordflow">return</span> impl.Get()->Replace(op, err);</div> |
| <div class="line"><a name="l00768"></a><span class="lineno"> 768</span>  }</div> |
| <div class="line"><a name="l00769"></a><span class="lineno"> 769</span>  </div> |
| <div class="line"><a name="l00782"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a33be61c6ec616c6fea26ee4e18a1cfd1"> 782</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a33be61c6ec616c6fea26ee4e18a1cfd1">Replace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& oldVal, <span class="keyword">const</span> V& newVal)</div> |
| <div class="line"><a name="l00783"></a><span class="lineno"> 783</span>  {</div> |
| <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>  </div> |
| <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>  <span class="keywordtype">bool</span> res = Replace(key, oldVal, newVal, err);</div> |
| <div class="line"><a name="l00787"></a><span class="lineno"> 787</span>  </div> |
| <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>  </div> |
| <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>  }</div> |
| <div class="line"><a name="l00792"></a><span class="lineno"> 792</span>  </div> |
| <div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#af869a2263724a63d61d9739631f9b0b4"> 806</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#af869a2263724a63d61d9739631f9b0b4">Replace</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& oldVal, <span class="keyword">const</span> V& newVal, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00807"></a><span class="lineno"> 807</span>  {</div> |
| <div class="line"><a name="l00808"></a><span class="lineno"> 808</span>  impl::In3Operation<K, V, V> op(key, oldVal, newVal);</div> |
| <div class="line"><a name="l00809"></a><span class="lineno"> 809</span>  </div> |
| <div class="line"><a name="l00810"></a><span class="lineno"> 810</span>  <span class="keywordflow">return</span> impl.Get()->ReplaceIfEqual(op, err);</div> |
| <div class="line"><a name="l00811"></a><span class="lineno"> 811</span>  }</div> |
| <div class="line"><a name="l00812"></a><span class="lineno"> 812</span>  </div> |
| <div class="line"><a name="l00823"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ace6028b210b519abdac1d921871dd483"> 823</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ace6028b210b519abdac1d921871dd483">LocalEvict</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l00824"></a><span class="lineno"> 824</span>  {</div> |
| <div class="line"><a name="l00825"></a><span class="lineno"> 825</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00826"></a><span class="lineno"> 826</span>  </div> |
| <div class="line"><a name="l00827"></a><span class="lineno"> 827</span>  LocalEvict(keys, err);</div> |
| <div class="line"><a name="l00828"></a><span class="lineno"> 828</span>  </div> |
| <div class="line"><a name="l00829"></a><span class="lineno"> 829</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00830"></a><span class="lineno"> 830</span>  }</div> |
| <div class="line"><a name="l00831"></a><span class="lineno"> 831</span>  </div> |
| <div class="line"><a name="l00843"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a70b8c00cf7141805cf163a3b39c6e537"> 843</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a70b8c00cf7141805cf163a3b39c6e537">LocalEvict</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00844"></a><span class="lineno"> 844</span>  {</div> |
| <div class="line"><a name="l00845"></a><span class="lineno"> 845</span>  impl::InSetOperation<K> op(keys);</div> |
| <div class="line"><a name="l00846"></a><span class="lineno"> 846</span>  </div> |
| <div class="line"><a name="l00847"></a><span class="lineno"> 847</span>  impl.Get()->LocalEvict(op, err);</div> |
| <div class="line"><a name="l00848"></a><span class="lineno"> 848</span>  }</div> |
| <div class="line"><a name="l00849"></a><span class="lineno"> 849</span>  </div> |
| <div class="line"><a name="l00861"></a><span class="lineno"> 861</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iter></div> |
| <div class="line"><a name="l00862"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a2cf0d8032946a206346a087465b280c1"> 862</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a2cf0d8032946a206346a087465b280c1">LocalEvict</a>(Iter begin, Iter end)</div> |
| <div class="line"><a name="l00863"></a><span class="lineno"> 863</span>  {</div> |
| <div class="line"><a name="l00864"></a><span class="lineno"> 864</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00865"></a><span class="lineno"> 865</span>  </div> |
| <div class="line"><a name="l00866"></a><span class="lineno"> 866</span>  impl::InIterOperation<K, V, Iter> op(begin, end);</div> |
| <div class="line"><a name="l00867"></a><span class="lineno"> 867</span>  </div> |
| <div class="line"><a name="l00868"></a><span class="lineno"> 868</span>  impl.Get()->LocalEvict(op, err);</div> |
| <div class="line"><a name="l00869"></a><span class="lineno"> 869</span>  </div> |
| <div class="line"><a name="l00870"></a><span class="lineno"> 870</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00871"></a><span class="lineno"> 871</span>  }</div> |
| <div class="line"><a name="l00872"></a><span class="lineno"> 872</span>  </div> |
| <div class="line"><a name="l00878"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a32dff73e2749850adff3b8604a2b11b4"> 878</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a32dff73e2749850adff3b8604a2b11b4">Clear</a>()</div> |
| <div class="line"><a name="l00879"></a><span class="lineno"> 879</span>  {</div> |
| <div class="line"><a name="l00880"></a><span class="lineno"> 880</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00881"></a><span class="lineno"> 881</span>  </div> |
| <div class="line"><a name="l00882"></a><span class="lineno"> 882</span>  Clear(err);</div> |
| <div class="line"><a name="l00883"></a><span class="lineno"> 883</span>  </div> |
| <div class="line"><a name="l00884"></a><span class="lineno"> 884</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00885"></a><span class="lineno"> 885</span>  }</div> |
| <div class="line"><a name="l00886"></a><span class="lineno"> 886</span>  </div> |
| <div class="line"><a name="l00894"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3c1b88838a8bb62d95eb6a9f2b3ca734"> 894</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3c1b88838a8bb62d95eb6a9f2b3ca734">Clear</a>(<a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00895"></a><span class="lineno"> 895</span>  {</div> |
| <div class="line"><a name="l00896"></a><span class="lineno"> 896</span>  impl.Get()->Clear(err);</div> |
| <div class="line"><a name="l00897"></a><span class="lineno"> 897</span>  }</div> |
| <div class="line"><a name="l00898"></a><span class="lineno"> 898</span>  </div> |
| <div class="line"><a name="l00907"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ac70e1d43fe5ea51cac26068feee04de1"> 907</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ac70e1d43fe5ea51cac26068feee04de1">Clear</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l00908"></a><span class="lineno"> 908</span>  {</div> |
| <div class="line"><a name="l00909"></a><span class="lineno"> 909</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00910"></a><span class="lineno"> 910</span>  </div> |
| <div class="line"><a name="l00911"></a><span class="lineno"> 911</span>  Clear(key, err);</div> |
| <div class="line"><a name="l00912"></a><span class="lineno"> 912</span>  </div> |
| <div class="line"><a name="l00913"></a><span class="lineno"> 913</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00914"></a><span class="lineno"> 914</span>  }</div> |
| <div class="line"><a name="l00915"></a><span class="lineno"> 915</span>  </div> |
| <div class="line"><a name="l00925"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a111d93b727b494c0edcb6d3820c8b2a7"> 925</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a111d93b727b494c0edcb6d3820c8b2a7">Clear</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00926"></a><span class="lineno"> 926</span>  {</div> |
| <div class="line"><a name="l00927"></a><span class="lineno"> 927</span>  impl::In1Operation<K> op(key);</div> |
| <div class="line"><a name="l00928"></a><span class="lineno"> 928</span>  </div> |
| <div class="line"><a name="l00929"></a><span class="lineno"> 929</span>  impl.Get()->Clear(op, err);</div> |
| <div class="line"><a name="l00930"></a><span class="lineno"> 930</span>  }</div> |
| <div class="line"><a name="l00931"></a><span class="lineno"> 931</span>  </div> |
| <div class="line"><a name="l00940"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a75ad2c0ff97c08272a5d2e8e5ef3426f"> 940</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a75ad2c0ff97c08272a5d2e8e5ef3426f">ClearAll</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l00941"></a><span class="lineno"> 941</span>  {</div> |
| <div class="line"><a name="l00942"></a><span class="lineno"> 942</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00943"></a><span class="lineno"> 943</span>  </div> |
| <div class="line"><a name="l00944"></a><span class="lineno"> 944</span>  ClearAll(keys, err);</div> |
| <div class="line"><a name="l00945"></a><span class="lineno"> 945</span>  </div> |
| <div class="line"><a name="l00946"></a><span class="lineno"> 946</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00947"></a><span class="lineno"> 947</span>  }</div> |
| <div class="line"><a name="l00948"></a><span class="lineno"> 948</span>  </div> |
| <div class="line"><a name="l00958"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a2b9b9a2ddbe63804e3ae5ed08dd78d0e"> 958</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a2b9b9a2ddbe63804e3ae5ed08dd78d0e">ClearAll</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l00959"></a><span class="lineno"> 959</span>  {</div> |
| <div class="line"><a name="l00960"></a><span class="lineno"> 960</span>  impl::InSetOperation<K> op(keys);</div> |
| <div class="line"><a name="l00961"></a><span class="lineno"> 961</span>  </div> |
| <div class="line"><a name="l00962"></a><span class="lineno"> 962</span>  impl.Get()->ClearAll(op, err);</div> |
| <div class="line"><a name="l00963"></a><span class="lineno"> 963</span>  }</div> |
| <div class="line"><a name="l00964"></a><span class="lineno"> 964</span>  </div> |
| <div class="line"><a name="l00974"></a><span class="lineno"> 974</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iter></div> |
| <div class="line"><a name="l00975"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a0d5547f59dee13bfa94ff3c6f633bbe3"> 975</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a0d5547f59dee13bfa94ff3c6f633bbe3">ClearAll</a>(Iter begin, Iter end)</div> |
| <div class="line"><a name="l00976"></a><span class="lineno"> 976</span>  {</div> |
| <div class="line"><a name="l00977"></a><span class="lineno"> 977</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l00978"></a><span class="lineno"> 978</span>  </div> |
| <div class="line"><a name="l00979"></a><span class="lineno"> 979</span>  impl::InIterOperation<K, V, Iter> op(begin, end);</div> |
| <div class="line"><a name="l00980"></a><span class="lineno"> 980</span>  </div> |
| <div class="line"><a name="l00981"></a><span class="lineno"> 981</span>  impl.Get()->ClearAll(op, err);</div> |
| <div class="line"><a name="l00982"></a><span class="lineno"> 982</span>  </div> |
| <div class="line"><a name="l00983"></a><span class="lineno"> 983</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l00984"></a><span class="lineno"> 984</span>  }</div> |
| <div class="line"><a name="l00985"></a><span class="lineno"> 985</span>  </div> |
| <div class="line"><a name="l00997"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#af76b287cd40718a7df7d2cdd0cfd40ef"> 997</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#af76b287cd40718a7df7d2cdd0cfd40ef">LocalClear</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l00998"></a><span class="lineno"> 998</span>  {</div> |
| <div class="line"><a name="l00999"></a><span class="lineno"> 999</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>  </div> |
| <div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>  LocalClear(key, err);</div> |
| <div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>  </div> |
| <div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>  }</div> |
| <div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>  </div> |
| <div class="line"><a name="l01018"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a479871cf2fae779ee53a73f2869870c9"> 1018</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a479871cf2fae779ee53a73f2869870c9">LocalClear</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>  {</div> |
| <div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>  impl::In1Operation<K> op(key);</div> |
| <div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>  </div> |
| <div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>  impl.Get()->LocalClear(op, err);</div> |
| <div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>  }</div> |
| <div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>  </div> |
| <div class="line"><a name="l01036"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a6485a96fc3ad6809637c8395ebd9a752"> 1036</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a6485a96fc3ad6809637c8395ebd9a752">LocalClearAll</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>  {</div> |
| <div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>  </div> |
| <div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>  LocalClearAll(keys, err);</div> |
| <div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>  </div> |
| <div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>  }</div> |
| <div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>  </div> |
| <div class="line"><a name="l01057"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ad026122ff49517efa2f34cd3e6552d1e"> 1057</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ad026122ff49517efa2f34cd3e6552d1e">LocalClearAll</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>  {</div> |
| <div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>  impl::InSetOperation<K> op(keys);</div> |
| <div class="line"><a name="l01060"></a><span class="lineno"> 1060</span>  </div> |
| <div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>  impl.Get()->LocalClearAll(op, err);</div> |
| <div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>  }</div> |
| <div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>  </div> |
| <div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iter></div> |
| <div class="line"><a name="l01077"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a7d0f770f3d807ac3574043f45445fce2"> 1077</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a7d0f770f3d807ac3574043f45445fce2">LocalClearAll</a>(Iter begin, Iter end)</div> |
| <div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>  {</div> |
| <div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>  </div> |
| <div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>  impl::InIterOperation<K, V, Iter> op(begin, end);</div> |
| <div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>  </div> |
| <div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>  impl.Get()->LocalClearAll(op, err);</div> |
| <div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>  </div> |
| <div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>  }</div> |
| <div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>  </div> |
| <div class="line"><a name="l01103"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a7afe0c34aa31c4ed34132ba0d9023dce"> 1103</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a7afe0c34aa31c4ed34132ba0d9023dce">Remove</a>(<span class="keyword">const</span> K& key)</div> |
| <div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>  {</div> |
| <div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>  </div> |
| <div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>  <span class="keywordtype">bool</span> res = Remove(key, err);</div> |
| <div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>  </div> |
| <div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>  </div> |
| <div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>  }</div> |
| <div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>  </div> |
| <div class="line"><a name="l01130"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a7c1cd72a8461a74705147362630a5468"> 1130</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a7c1cd72a8461a74705147362630a5468">Remove</a>(<span class="keyword">const</span> K& key, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>  {</div> |
| <div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>  impl::In1Operation<K> op(key);</div> |
| <div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>  </div> |
| <div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>  <span class="keywordflow">return</span> impl.Get()->Remove(op, err);</div> |
| <div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>  }</div> |
| <div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>  </div> |
| <div class="line"><a name="l01148"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a4aa6f4df34659d8c74dd4ff74e4b113f"> 1148</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a4aa6f4df34659d8c74dd4ff74e4b113f">Remove</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val)</div> |
| <div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>  {</div> |
| <div class="line"><a name="l01150"></a><span class="lineno"> 1150</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01151"></a><span class="lineno"> 1151</span>  </div> |
| <div class="line"><a name="l01152"></a><span class="lineno"> 1152</span>  <span class="keywordtype">bool</span> res = Remove(key, val, err);</div> |
| <div class="line"><a name="l01153"></a><span class="lineno"> 1153</span>  </div> |
| <div class="line"><a name="l01154"></a><span class="lineno"> 1154</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01155"></a><span class="lineno"> 1155</span>  </div> |
| <div class="line"><a name="l01156"></a><span class="lineno"> 1156</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01157"></a><span class="lineno"> 1157</span>  }</div> |
| <div class="line"><a name="l01158"></a><span class="lineno"> 1158</span>  </div> |
| <div class="line"><a name="l01171"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3abed26f01885d904a601fd3fa7cb64f"> 1171</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3abed26f01885d904a601fd3fa7cb64f">Remove</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> V& val, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>  {</div> |
| <div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>  impl::In2Operation<K, V> op(key, val);</div> |
| <div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>  </div> |
| <div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>  <span class="keywordflow">return</span> impl.Get()->RemoveIfEqual(op, err);</div> |
| <div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>  }</div> |
| <div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>  </div> |
| <div class="line"><a name="l01187"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a9a3a3babb2f45897b2acf23bb5e22cb8"> 1187</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a9a3a3babb2f45897b2acf23bb5e22cb8">RemoveAll</a>(<span class="keyword">const</span> std::set<K>& keys)</div> |
| <div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>  {</div> |
| <div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>  </div> |
| <div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>  RemoveAll(keys, err);</div> |
| <div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>  </div> |
| <div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>  }</div> |
| <div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>  </div> |
| <div class="line"><a name="l01206"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a4f3f15ffb50519f230fad7122fea6c82"> 1206</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a4f3f15ffb50519f230fad7122fea6c82">RemoveAll</a>(<span class="keyword">const</span> std::set<K>& keys, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>  {</div> |
| <div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>  impl::InSetOperation<K> op(keys);</div> |
| <div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>  </div> |
| <div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>  impl.Get()->RemoveAll(op, err);</div> |
| <div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>  }</div> |
| <div class="line"><a name="l01212"></a><span class="lineno"> 1212</span>  </div> |
| <div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Iter></div> |
| <div class="line"><a name="l01227"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3e0f4e52fcb03dcb1d86529da29f6a29"> 1227</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3e0f4e52fcb03dcb1d86529da29f6a29">RemoveAll</a>(Iter begin, Iter end)</div> |
| <div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>  {</div> |
| <div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>  </div> |
| <div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>  impl::InIterOperation<K, V, Iter> op(begin, end);</div> |
| <div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>  </div> |
| <div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>  impl.Get()->RemoveAll(op, err);</div> |
| <div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>  </div> |
| <div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01236"></a><span class="lineno"> 1236</span>  }</div> |
| <div class="line"><a name="l01237"></a><span class="lineno"> 1237</span>  </div> |
| <div class="line"><a name="l01246"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#afcc61c53d3c3b0fcd138674e8ffa3f2c"> 1246</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#afcc61c53d3c3b0fcd138674e8ffa3f2c">RemoveAll</a>()</div> |
| <div class="line"><a name="l01247"></a><span class="lineno"> 1247</span>  {</div> |
| <div class="line"><a name="l01248"></a><span class="lineno"> 1248</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01249"></a><span class="lineno"> 1249</span>  </div> |
| <div class="line"><a name="l01250"></a><span class="lineno"> 1250</span>  RemoveAll(err);</div> |
| <div class="line"><a name="l01251"></a><span class="lineno"> 1251</span>  </div> |
| <div class="line"><a name="l01252"></a><span class="lineno"> 1252</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01253"></a><span class="lineno"> 1253</span>  }</div> |
| <div class="line"><a name="l01254"></a><span class="lineno"> 1254</span>  </div> |
| <div class="line"><a name="l01264"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ab597e0d2f3ac758a76a785099b772776"> 1264</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ab597e0d2f3ac758a76a785099b772776">RemoveAll</a>(<a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01265"></a><span class="lineno"> 1265</span>  {</div> |
| <div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>  <span class="keywordflow">return</span> impl.Get()->RemoveAll(err);</div> |
| <div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>  }</div> |
| <div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>  </div> |
| <div class="line"><a name="l01276"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#add4fca8717947a1935d089cc63393de4"> 1276</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#add4fca8717947a1935d089cc63393de4">LocalSize</a>()</div> |
| <div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>  {</div> |
| <div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>  <span class="keywordflow">return</span> LocalSize(<a class="code" href="structignite_1_1cache_1_1CachePeekMode.html#acd2d0e89b2c2c9d391060a89585bc2b2ac963dd400d80659ced9e17f5474663c6">CachePeekMode::ALL</a>);</div> |
| <div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>  }</div> |
| <div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>  </div> |
| <div class="line"><a name="l01289"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#abb18b3985531d3410e1e3daafb322001"> 1289</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#abb18b3985531d3410e1e3daafb322001">LocalSize</a>(<a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>  {</div> |
| <div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>  <span class="keywordflow">return</span> LocalSize(<a class="code" href="structignite_1_1cache_1_1CachePeekMode.html#acd2d0e89b2c2c9d391060a89585bc2b2ac963dd400d80659ced9e17f5474663c6">CachePeekMode::ALL</a>, err);</div> |
| <div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>  }</div> |
| <div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>  </div> |
| <div class="line"><a name="l01302"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aafe9ba547e9b5a427a1e03234ff41dc5"> 1302</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#aafe9ba547e9b5a427a1e03234ff41dc5">LocalSize</a>(int32_t peekModes)</div> |
| <div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>  {</div> |
| <div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>  </div> |
| <div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>  int32_t res = LocalSize(peekModes, err);</div> |
| <div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>  </div> |
| <div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>  </div> |
| <div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>  }</div> |
| <div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>  </div> |
| <div class="line"><a name="l01322"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ad3113831235e6ac280961f0b673a726d"> 1322</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#ad3113831235e6ac280961f0b673a726d">LocalSize</a>(int32_t peekModes, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01323"></a><span class="lineno"> 1323</span>  {</div> |
| <div class="line"><a name="l01324"></a><span class="lineno"> 1324</span>  <span class="keywordflow">return</span> impl.Get()->Size(peekModes, <span class="keyword">true</span>, err);</div> |
| <div class="line"><a name="l01325"></a><span class="lineno"> 1325</span>  }</div> |
| <div class="line"><a name="l01326"></a><span class="lineno"> 1326</span>  </div> |
| <div class="line"><a name="l01335"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a03574797da901a76180aad88476ef8ce"> 1335</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#a03574797da901a76180aad88476ef8ce">Size</a>()</div> |
| <div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>  {</div> |
| <div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>  <span class="keywordflow">return</span> Size(<a class="code" href="structignite_1_1cache_1_1CachePeekMode.html#acd2d0e89b2c2c9d391060a89585bc2b2ac963dd400d80659ced9e17f5474663c6">ignite::cache::CachePeekMode::ALL</a>);</div> |
| <div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>  }</div> |
| <div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>  </div> |
| <div class="line"><a name="l01349"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aeceeba2bacfa25940980144204457857"> 1349</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#aeceeba2bacfa25940980144204457857">Size</a>(<a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>  {</div> |
| <div class="line"><a name="l01351"></a><span class="lineno"> 1351</span>  <span class="keywordflow">return</span> Size(<a class="code" href="structignite_1_1cache_1_1CachePeekMode.html#acd2d0e89b2c2c9d391060a89585bc2b2ac963dd400d80659ced9e17f5474663c6">ignite::cache::CachePeekMode::ALL</a>, err);</div> |
| <div class="line"><a name="l01352"></a><span class="lineno"> 1352</span>  }</div> |
| <div class="line"><a name="l01353"></a><span class="lineno"> 1353</span>  </div> |
| <div class="line"><a name="l01363"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ae2a4bc2ff23bb72bd6338d3003c8d9f7"> 1363</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#ae2a4bc2ff23bb72bd6338d3003c8d9f7">Size</a>(int32_t peekModes)</div> |
| <div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>  {</div> |
| <div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>  </div> |
| <div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>  int32_t res = Size(peekModes, err);</div> |
| <div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>  </div> |
| <div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>  </div> |
| <div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>  }</div> |
| <div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>  </div> |
| <div class="line"><a name="l01384"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a601e93893fa8836baad3d10d3174fe13"> 1384</a></span>  int32_t <a class="code" href="classignite_1_1cache_1_1Cache.html#a601e93893fa8836baad3d10d3174fe13">Size</a>(int32_t peekModes, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>  {</div> |
| <div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>  <span class="keywordflow">return</span> impl.Get()->Size(peekModes, <span class="keyword">false</span>, err);</div> |
| <div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>  }</div> |
| <div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>  </div> |
| <div class="line"><a name="l01398"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a26119f98c463ef80945e26efc6e83a89"> 1398</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a26119f98c463ef80945e26efc6e83a89">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">query::SqlQuery</a>& qry)</div> |
| <div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>  {</div> |
| <div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>  </div> |
| <div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> res = Query(qry, err);</div> |
| <div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>  </div> |
| <div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>  </div> |
| <div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>  }</div> |
| <div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>  </div> |
| <div class="line"><a name="l01418"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a556b6842f84e7f280b0c595c1a0007f0"> 1418</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a556b6842f84e7f280b0c595c1a0007f0">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlQuery.html">query::SqlQuery</a>& qry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>  {</div> |
| <div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>  impl::cache::query::QueryCursorImpl* cursorImpl = impl.Get()->QuerySql(qry, err);</div> |
| <div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>  </div> |
| <div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a>(cursorImpl);</div> |
| <div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>  }</div> |
| <div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>  </div> |
| <div class="line"><a name="l01433"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a2e778ca7800bc44e458aadcfd44c871d"> 1433</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a2e778ca7800bc44e458aadcfd44c871d">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1TextQuery.html">query::TextQuery</a>& qry)</div> |
| <div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>  {</div> |
| <div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>  </div> |
| <div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> res = Query(qry, err);</div> |
| <div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>  </div> |
| <div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>  </div> |
| <div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>  }</div> |
| <div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>  </div> |
| <div class="line"><a name="l01453"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#af44d92bcc1d6c8b0e82351f84b6176d5"> 1453</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#af44d92bcc1d6c8b0e82351f84b6176d5">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1TextQuery.html">query::TextQuery</a>& qry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>  {</div> |
| <div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>  impl::cache::query::QueryCursorImpl* cursorImpl = impl.Get()->QueryText(qry, err);</div> |
| <div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>  </div> |
| <div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a>(cursorImpl);</div> |
| <div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>  }</div> |
| <div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>  </div> |
| <div class="line"><a name="l01468"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a314862911a062fbb7584ebc40db138f7"> 1468</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a314862911a062fbb7584ebc40db138f7">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1ScanQuery.html">query::ScanQuery</a>& qry)</div> |
| <div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>  {</div> |
| <div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>  </div> |
| <div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> res = Query(qry, err);</div> |
| <div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>  </div> |
| <div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>  </div> |
| <div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>  }</div> |
| <div class="line"><a name="l01478"></a><span class="lineno"> 1478</span>  </div> |
| <div class="line"><a name="l01488"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3c61d79d3faef75affbe34d1349e4b01"> 1488</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3c61d79d3faef75affbe34d1349e4b01">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1ScanQuery.html">query::ScanQuery</a>& qry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01489"></a><span class="lineno"> 1489</span>  {</div> |
| <div class="line"><a name="l01490"></a><span class="lineno"> 1490</span>  impl::cache::query::QueryCursorImpl* cursorImpl = impl.Get()->QueryScan(qry, err);</div> |
| <div class="line"><a name="l01491"></a><span class="lineno"> 1491</span>  </div> |
| <div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1QueryCursor.html">query::QueryCursor<K, V></a>(cursorImpl);</div> |
| <div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>  }</div> |
| <div class="line"><a name="l01494"></a><span class="lineno"> 1494</span>  </div> |
| <div class="line"><a name="l01503"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ab03e67d01500b9fef49608e80f6e5f6e"> 1503</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryFieldsCursor.html">query::QueryFieldsCursor</a> <a class="code" href="classignite_1_1cache_1_1Cache.html#ab03e67d01500b9fef49608e80f6e5f6e">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">query::SqlFieldsQuery</a>& qry)</div> |
| <div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>  {</div> |
| <div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>  </div> |
| <div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryFieldsCursor.html">query::QueryFieldsCursor</a> res = Query(qry, err);</div> |
| <div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>  </div> |
| <div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>  </div> |
| <div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>  }</div> |
| <div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>  </div> |
| <div class="line"><a name="l01523"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3e814db47b3f864eb2f23eb2f9e15a47"> 1523</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1QueryFieldsCursor.html">query::QueryFieldsCursor</a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3e814db47b3f864eb2f23eb2f9e15a47">Query</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1SqlFieldsQuery.html">query::SqlFieldsQuery</a>& qry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>  {</div> |
| <div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>  impl::cache::query::QueryCursorImpl* cursorImpl = impl.Get()->QuerySqlFields(qry, err);</div> |
| <div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>  </div> |
| <div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1QueryFieldsCursor.html">query::QueryFieldsCursor</a>(cursorImpl);</div> |
| <div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>  }</div> |
| <div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>  </div> |
| <div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>  <span class="keyword">template</span><<span class="keyword">typename</span> R, <span class="keyword">typename</span> P, <span class="keyword">typename</span> A></div> |
| <div class="line"><a name="l01572"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ad3d816384f6ecc3f6f5b0b298e08a338"> 1572</a></span>  R <a class="code" href="classignite_1_1cache_1_1Cache.html#ad3d816384f6ecc3f6f5b0b298e08a338">Invoke</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> P& processor, <span class="keyword">const</span> A& arg)</div> |
| <div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>  {</div> |
| <div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>  </div> |
| <div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>  R res = Invoke<R>(key, processor, arg, err);</div> |
| <div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>  </div> |
| <div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>  </div> |
| <div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>  }</div> |
| <div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>  </div> |
| <div class="line"><a name="l01626"></a><span class="lineno"> 1626</span>  <span class="keyword">template</span><<span class="keyword">typename</span> R, <span class="keyword">typename</span> P, <span class="keyword">typename</span> A></div> |
| <div class="line"><a name="l01627"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a6646c6a21a8c17aabf2ad936ae4a7ec0"> 1627</a></span>  R <a class="code" href="classignite_1_1cache_1_1Cache.html#a6646c6a21a8c17aabf2ad936ae4a7ec0">Invoke</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> P& processor, <span class="keyword">const</span> A& arg, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01628"></a><span class="lineno"> 1628</span>  {</div> |
| <div class="line"><a name="l01629"></a><span class="lineno"> 1629</span>  <span class="keyword">typedef</span> impl::cache::CacheEntryProcessorHolder<P, A> ProcessorHolder;</div> |
| <div class="line"><a name="l01630"></a><span class="lineno"> 1630</span>  </div> |
| <div class="line"><a name="l01631"></a><span class="lineno"> 1631</span>  R res;</div> |
| <div class="line"><a name="l01632"></a><span class="lineno"> 1632</span>  ProcessorHolder procHolder(processor, arg);</div> |
| <div class="line"><a name="l01633"></a><span class="lineno"> 1633</span>  </div> |
| <div class="line"><a name="l01634"></a><span class="lineno"> 1634</span>  impl::InCacheInvokeOperation<K, ProcessorHolder> inOp(key, procHolder);</div> |
| <div class="line"><a name="l01635"></a><span class="lineno"> 1635</span>  impl::Out1Operation<R> outOp(res);</div> |
| <div class="line"><a name="l01636"></a><span class="lineno"> 1636</span>  </div> |
| <div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>  impl.Get()->Invoke(inOp, outOp, err);</div> |
| <div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>  </div> |
| <div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>  }</div> |
| <div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>  </div> |
| <div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>  <span class="keyword">template</span><<span class="keyword">typename</span> R, <span class="keyword">typename</span> A></div> |
| <div class="line"><a name="l01669"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a473ac3d8c7cdffd560681cf72166acb8"> 1669</a></span>  R <a class="code" href="classignite_1_1cache_1_1Cache.html#a473ac3d8c7cdffd560681cf72166acb8">InvokeJava</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> std::string& processorName, <span class="keyword">const</span> A& arg)</div> |
| <div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>  {</div> |
| <div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>  </div> |
| <div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>  R res = InvokeJava<R>(key, processorName, arg, err);</div> |
| <div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>  </div> |
| <div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>  </div> |
| <div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>  }</div> |
| <div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>  </div> |
| <div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>  <span class="keyword">template</span><<span class="keyword">typename</span> R, <span class="keyword">typename</span> A></div> |
| <div class="line"><a name="l01707"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aab318bef372dd6783a88f0bf5726c525"> 1707</a></span>  R <a class="code" href="classignite_1_1cache_1_1Cache.html#aab318bef372dd6783a88f0bf5726c525">InvokeJava</a>(<span class="keyword">const</span> K& key, <span class="keyword">const</span> std::string& processorName, <span class="keyword">const</span> A& arg, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>  {</div> |
| <div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>  R res;</div> |
| <div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>  </div> |
| <div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>  impl::In3Operation<std::string, K, A> inOp(processorName, key, arg);</div> |
| <div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>  impl::Out1Operation<R> outOp(res);</div> |
| <div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>  </div> |
| <div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>  impl.Get()->InvokeJava(inOp, outOp, err);</div> |
| <div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>  </div> |
| <div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>  }</div> |
| <div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>  </div> |
| <div class="line"><a name="l01725"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#aa593e6059eaad9122a1ea2c7d55386cb"> 1725</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#aa593e6059eaad9122a1ea2c7d55386cb">QueryContinuous</a>(</div> |
| <div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>  <span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">query::continuous::ContinuousQuery<K, V></a>& qry)</div> |
| <div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>  {</div> |
| <div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>  </div> |
| <div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> res = QueryContinuous(qry, err);</div> |
| <div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>  </div> |
| <div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>  </div> |
| <div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>  }</div> |
| <div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>  </div> |
| <div class="line"><a name="l01744"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a7fbb8679a5b106fab9d4402e56e2ffdd"> 1744</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a7fbb8679a5b106fab9d4402e56e2ffdd">QueryContinuous</a>(</div> |
| <div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>  <span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">query::continuous::ContinuousQuery<K, V></a>& qry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>  {</div> |
| <div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>  <span class="keyword">using namespace </span>impl::cache::query::continuous;</div> |
| <div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>  <span class="keyword">using namespace </span>common::concurrent;</div> |
| <div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>  </div> |
| <div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>  <span class="keyword">const</span> SharedPointer<ContinuousQueryImpl<K, V> >& qryImpl = qry.impl;</div> |
| <div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>  </div> |
| <div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>  <span class="keywordflow">if</span> (!qryImpl.IsValid() || !qryImpl.Get()->HasListener())</div> |
| <div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>  {</div> |
| <div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>  err = <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>(<a class="code" href="classignite_1_1IgniteError.html#abee4f1ca9ade2b8b4d0af780feea2577">IgniteError::IGNITE_ERR_GENERIC</a>,</div> |
| <div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>  <span class="stringliteral">"Event listener is not set for ContinuousQuery instance"</span>);</div> |
| <div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>  </div> |
| <div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a>();</div> |
| <div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>  }</div> |
| <div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>  </div> |
| <div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>  ContinuousQueryHandleImpl* cqImpl = impl.Get()->QueryContinuous(qryImpl, err);</div> |
| <div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>  </div> |
| <div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a>(cqImpl);</div> |
| <div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>  }</div> |
| <div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>  </div> |
| <div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Q></div> |
| <div class="line"><a name="l01773"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a536a499c5a62d5272edd495079bec95f"> 1773</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#a536a499c5a62d5272edd495079bec95f">QueryContinuous</a>(</div> |
| <div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>  <span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">query::continuous::ContinuousQuery<K, V></a>& qry,</div> |
| <div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>  <span class="keyword">const</span> Q& initialQry)</div> |
| <div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>  {</div> |
| <div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>  </div> |
| <div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> res = QueryContinuous(qry, initialQry, err);</div> |
| <div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>  </div> |
| <div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>  </div> |
| <div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>  <span class="keywordflow">return</span> res;</div> |
| <div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>  }</div> |
| <div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>  </div> |
| <div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>  <span class="keyword">template</span><<span class="keyword">typename</span> Q></div> |
| <div class="line"><a name="l01795"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#afba6a82f00990d4e753dbdeeddf0de83"> 1795</a></span>  <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a> <a class="code" href="classignite_1_1cache_1_1Cache.html#afba6a82f00990d4e753dbdeeddf0de83">QueryContinuous</a>(</div> |
| <div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>  <span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">query::continuous::ContinuousQuery<K, V></a>& qry,</div> |
| <div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>  <span class="keyword">const</span> Q& initialQry, <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>& err)</div> |
| <div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>  {</div> |
| <div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>  <span class="keyword">using namespace </span>impl::cache::query::continuous;</div> |
| <div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>  <span class="keyword">using namespace </span>common::concurrent;</div> |
| <div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>  </div> |
| <div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>  <span class="keyword">const</span> SharedPointer<ContinuousQueryImpl<K, V> >& qryImpl = qry.impl;</div> |
| <div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>  </div> |
| <div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>  <span class="keywordflow">if</span> (!qryImpl.IsValid() || !qryImpl.Get()->HasListener())</div> |
| <div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>  {</div> |
| <div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>  err = <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a>(<a class="code" href="classignite_1_1IgniteError.html#abee4f1ca9ade2b8b4d0af780feea2577">IgniteError::IGNITE_ERR_GENERIC</a>,</div> |
| <div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>  <span class="stringliteral">"Event listener is not set for ContinuousQuery instance"</span>);</div> |
| <div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>  </div> |
| <div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a>();</div> |
| <div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>  }</div> |
| <div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>  </div> |
| <div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>  ContinuousQueryHandleImpl* cqImpl = impl.Get()->QueryContinuous(qryImpl, initialQry, err);</div> |
| <div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>  </div> |
| <div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>  <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQueryHandle.html">query::continuous::ContinuousQueryHandle<K, V></a>(cqImpl);</div> |
| <div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>  }</div> |
| <div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>  </div> |
| <div class="line"><a name="l01828"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a3de3efc2968613615e1e6fcc1ce7ac81"> 1828</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a3de3efc2968613615e1e6fcc1ce7ac81">IsValid</a>()<span class="keyword"> const</span></div> |
| <div class="line"><a name="l01829"></a><span class="lineno"> 1829</span> <span class="keyword"> </span>{</div> |
| <div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>  <span class="keywordflow">return</span> impl.IsValid();</div> |
| <div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>  }</div> |
| <div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>  </div> |
| <div class="line"><a name="l01836"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#a70c9608d3044bd944e1c348e77426bc6"> 1836</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#a70c9608d3044bd944e1c348e77426bc6">LoadCache</a>()</div> |
| <div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>  {</div> |
| <div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>  </div> |
| <div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>  impl.Get()->LoadCache(err);</div> |
| <div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>  </div> |
| <div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>  }</div> |
| <div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>  </div> |
| <div class="line"><a name="l01853"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1Cache.html#ab5021acbd56235ca7aeda93d409b360e"> 1853</a></span>  <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1Cache.html#ab5021acbd56235ca7aeda93d409b360e">LocalLoadCache</a>()</div> |
| <div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>  {</div> |
| <div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>  <a class="code" href="classignite_1_1IgniteError.html">IgniteError</a> err;</div> |
| <div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>  </div> |
| <div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>  impl.Get()->LocalLoadCache(err);</div> |
| <div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>  </div> |
| <div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>  <a class="code" href="classignite_1_1IgniteError.html#a99e9d86e40876885459a86276eccb935">IgniteError::ThrowIfNeeded</a>(err);</div> |
| <div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>  }</div> |
| <div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>  </div> |
| <div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>  <span class="keyword">private</span>:</div> |
| <div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>  common::concurrent::SharedPointer<impl::cache::CacheImpl> impl;</div> |
| <div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>  };</div> |
| <div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>  }</div> |
| <div class="line"><a name="l01867"></a><span class="lineno"> 1867</span> }</div> |
| <div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>  </div> |
| <div class="line"><a name="l01869"></a><span class="lineno"> 1869</span> <span class="preprocessor">#endif //_IGNITE_CACHE_CACHE</span></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_ace6028b210b519abdac1d921871dd483"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#ace6028b210b519abdac1d921871dd483">ignite::cache::Cache::LocalEvict</a></div><div class="ttdeci">void LocalEvict(const std::set< K > &keys)</div><div class="ttdoc">Attempts to evict all entries associated with keys.</div><div class="ttdef"><b>Definition:</b> cache.h:823</div></div> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_aff04aec634d377836ae597e6e1f34e9b"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#aff04aec634d377836ae597e6e1f34e9b">ignite::cache::Cache::GetAndRemove</a></div><div class="ttdeci">V GetAndRemove(const K &key)</div><div class="ttdoc">Atomically removes the entry for a key only if currently mapped to some value.</div><div class="ttdef"><b>Definition:</b> cache.h:590</div></div> |
| <div class="ttc" id="anamespaceignite_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="aclassignite_1_1cache_1_1Cache_html_ab70b4492873790a2fe44d33b177a397e"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#ab70b4492873790a2fe44d33b177a397e">ignite::cache::Cache::GetAndPutIfAbsent</a></div><div class="ttdeci">V GetAndPutIfAbsent(const K &key, const V &val, IgniteError &err)</div><div class="ttdoc">Stores given key-value pair in cache only if cache had no previous mapping for it.</div><div class="ttdef"><b>Definition:</b> cache.h:709</div></div> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_a33be61c6ec616c6fea26ee4e18a1cfd1"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#a33be61c6ec616c6fea26ee4e18a1cfd1">ignite::cache::Cache::Replace</a></div><div class="ttdeci">bool Replace(const K &key, const V &oldVal, const V &newVal)</div><div class="ttdoc">Stores given key-value pair in cache only if the previous value is equal to the old value passed as a...</div><div class="ttdef"><b>Definition:</b> cache.h:782</div></div> |
| <div class="ttc" id="acore_2include_2ignite_2cache_2cache__peek__mode_8h_html"><div class="ttname"><a href="core_2include_2ignite_2cache_2cache__peek__mode_8h.html">cache_peek_mode.h</a></div></div> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_a70354d0a96bb4f5174beb0f90188e24d"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#a70354d0a96bb4f5174beb0f90188e24d">ignite::cache::Cache::PutIfAbsent</a></div><div class="ttdeci">bool PutIfAbsent(const K &key, const V &val)</div><div class="ttdoc">Atomically associates the specified key with the given value if it is not already associated with a v...</div><div class="ttdef"><b>Definition:</b> cache.h:632</div></div> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_a3c1b88838a8bb62d95eb6a9f2b3ca734"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html#a3c1b88838a8bb62d95eb6a9f2b3ca734">ignite::cache::Cache::Clear</a></div><div class="ttdeci">void Clear(IgniteError &err)</div><div class="ttdoc">Clear cache.</div><div class="ttdef"><b>Definition:</b> cache.h:894</div></div> |
| <div class="ttc" id="acontinuous__query__handle_8h_html"><div class="ttname"><a href="continuous__query__handle_8h.html">continuous_query_handle.h</a></div></div> |
| <div class="ttc" id="aclassignite_1_1cache_1_1Cache_html_a6cdca32b50dba8b000e6dcb3ed6f893a"><div class="ttname" |