blob: 9f3e58acb300739293a9be1bf24dd8fe1215f520 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="canonical" href="https://ignite.apache.org/releases/2.7.0/cppdoc/cache__entry_8h_source.html" />
<META NAME="ROBOTS" CONTENT="NOINDEX">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>&nbsp; Apache Ignite C++: cache_entry.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-61232409-1', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="ignite_logo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">&nbsp; Apache Ignite C++
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_1d5505cee217f179c88903b7091c150e.html">cache</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">cache_entry.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="cache__entry_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> * contributor license agreements. See the NOTICE file distributed with</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> * this work for additional information regarding copyright ownership.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> * (the &quot;License&quot;); you may not use this file except in compliance with</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> * the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"> * http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> * limitations under the License.</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#ifndef _IGNITE_CACHE_CACHE_ENTRY</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_CACHE_CACHE_ENTRY</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;ignite/common/common.h&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;{</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <span class="keyword">namespace </span>cache</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> K, <span class="keyword">typename</span> V&gt;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html"> 40</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1cache_1_1CacheEntry.html">CacheEntry</a></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; {</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a974bb547bc498b06202ceb3c7625119e"> 48</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a974bb547bc498b06202ceb3c7625119e">CacheEntry</a>() :</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>(),</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>(),</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>(false)</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; {</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; }</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#ac1652a2857db31b2d37b6b94aba0664c"> 62</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ac1652a2857db31b2d37b6b94aba0664c">CacheEntry</a>(<span class="keyword">const</span> K&amp; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>, <span class="keyword">const</span> V&amp; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>) :</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; key(key),</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; val(val),</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>(true)</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; {</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; }</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#ad84199e634b17e3d934c737f007c778f"> 75</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ad84199e634b17e3d934c737f007c778f">CacheEntry</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html">CacheEntry</a>&amp; other) :</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>(other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>),</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>(other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>),</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>(other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>)</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; {</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; }</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a7c9e37e44057637bdf304f7b4d5fbc3d"> 88</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a7c9e37e44057637bdf304f7b4d5fbc3d">CacheEntry</a>(<span class="keyword">const</span> std::pair&lt;K, V&gt;&amp; p) :</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>(p.first),</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>(p.second),</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>(true)</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; {</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; }</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a61633aa1eaa9175041b01ae249970cb5"> 100</a></span>&#160; <span class="keyword">virtual</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a61633aa1eaa9175041b01ae249970cb5">~CacheEntry</a>()</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; {</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; }</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#ae85c45474c190b9eec74d764abddee91"> 110</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html">CacheEntry</a>&amp; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae85c45474c190b9eec74d764abddee91">operator=</a>(<span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html">CacheEntry</a>&amp; other) </div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; {</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keywordflow">if</span> (<span class="keyword">this</span> != &amp;other)</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; {</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a> = other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>;</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a> = other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>;</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a> = other.<a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; }</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; }</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a53a9461019b697ce4bab732221827a5d"> 127</a></span>&#160; <span class="keyword">const</span> K&amp; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53a9461019b697ce4bab732221827a5d">GetKey</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>;</div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; }</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a505219e69f41d3a1f58c91446f351024"> 137</a></span>&#160; <span class="keyword">const</span> V&amp; <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a505219e69f41d3a1f58c91446f351024">GetValue</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>;</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; }</div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160;</div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a122a49707c9ea8ec6c662487b6f27a1f"> 147</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a122a49707c9ea8ec6c662487b6f27a1f">HasValue</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <span class="keywordflow">return</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; }</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7"> 154</a></span>&#160; K <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">key</a>;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb"> 157</a></span>&#160; V <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">val</a>;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;</div><div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c"> 160</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">hasValue</a>;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; };</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; }</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;}</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor">#endif //_IGNITE_CACHE_CACHE_ENTRY</span></div><div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a53a9461019b697ce4bab732221827a5d"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a53a9461019b697ce4bab732221827a5d">ignite::cache::CacheEntry::GetKey</a></div><div class="ttdeci">const K &amp; GetKey() const </div><div class="ttdoc">Get key. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:127</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a7c9e37e44057637bdf304f7b4d5fbc3d"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a7c9e37e44057637bdf304f7b4d5fbc3d">ignite::cache::CacheEntry::CacheEntry</a></div><div class="ttdeci">CacheEntry(const std::pair&lt; K, V &gt; &amp;p)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:88</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a122a49707c9ea8ec6c662487b6f27a1f"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a122a49707c9ea8ec6c662487b6f27a1f">ignite::cache::CacheEntry::HasValue</a></div><div class="ttdeci">bool HasValue() const </div><div class="ttdoc">Check if the value exists. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:147</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_ae09bd00e6147075a96606db1987ef0d7"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#ae09bd00e6147075a96606db1987ef0d7">ignite::cache::CacheEntry::key</a></div><div class="ttdeci">K key</div><div class="ttdoc">Key. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:154</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a505219e69f41d3a1f58c91446f351024"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a505219e69f41d3a1f58c91446f351024">ignite::cache::CacheEntry::GetValue</a></div><div class="ttdeci">const V &amp; GetValue() const </div><div class="ttdoc">Get value. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:137</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_ad84199e634b17e3d934c737f007c778f"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#ad84199e634b17e3d934c737f007c778f">ignite::cache::CacheEntry::CacheEntry</a></div><div class="ttdeci">CacheEntry(const CacheEntry &amp;other)</div><div class="ttdoc">Copy constructor. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:75</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a61633aa1eaa9175041b01ae249970cb5"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a61633aa1eaa9175041b01ae249970cb5">ignite::cache::CacheEntry::~CacheEntry</a></div><div class="ttdeci">virtual ~CacheEntry()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:100</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html">ignite::cache::CacheEntry</a></div><div class="ttdoc">Cache entry class template. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:40</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_af5eeaf73fe4a9a97e8e4a46ecd7d49fb"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#af5eeaf73fe4a9a97e8e4a46ecd7d49fb">ignite::cache::CacheEntry::val</a></div><div class="ttdeci">V val</div><div class="ttdoc">Value. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:157</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_ae85c45474c190b9eec74d764abddee91"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#ae85c45474c190b9eec74d764abddee91">ignite::cache::CacheEntry::operator=</a></div><div class="ttdeci">CacheEntry &amp; operator=(const CacheEntry &amp;other)</div><div class="ttdoc">Assignment operator. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:110</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a974bb547bc498b06202ceb3c7625119e"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a974bb547bc498b06202ceb3c7625119e">ignite::cache::CacheEntry::CacheEntry</a></div><div class="ttdeci">CacheEntry()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:48</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_a53efefccfb9203c683a1c86afa86763c"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#a53efefccfb9203c683a1c86afa86763c">ignite::cache::CacheEntry::hasValue</a></div><div class="ttdeci">bool hasValue</div><div class="ttdoc">Indicates whether value exists. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:160</div></div>
<div class="ttc" id="namespaceignite_html"><div class="ttname"><a href="namespaceignite.html">ignite</a></div><div class="ttdoc">Apache Ignite API. </div><div class="ttdef"><b>Definition:</b> cache.h:48</div></div>
<div class="ttc" id="classignite_1_1cache_1_1CacheEntry_html_ac1652a2857db31b2d37b6b94aba0664c"><div class="ttname"><a href="classignite_1_1cache_1_1CacheEntry.html#ac1652a2857db31b2d37b6b94aba0664c">ignite::cache::CacheEntry::CacheEntry</a></div><div class="ttdeci">CacheEntry(const K &amp;key, const V &amp;val)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> cache_entry.h:62</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Nov 30 2018 20:09:21 for &nbsp; Apache Ignite C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>