blob: 9a34a97264c8f2499aa51bd0f9e17b92af5edab5 [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.4.0/cppdoc/continuous__query_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++: continuous_query.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="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><li class="navelem"><a class="el" href="dir_13c1d00a1be9b016a133dec12b890b36.html">query</a></li><li class="navelem"><a class="el" href="dir_a589d7fa76191ec48a638b0021c39d11.html">continuous</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">continuous_query.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="continuous__query_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_QUERY_CONTINUOUS_CONTINUOUS_QUERY</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#define _IGNITE_CACHE_QUERY_CONTINUOUS_CONTINUOUS_QUERY</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ignite/impl/cache/query/continuous/continuous_query_impl.h&gt;</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="cache__entry__event__listener_8h.html">ignite/cache/event/cache_entry_event_listener.h</a>&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="cache__entry__event__filter_8h.html">ignite/cache/event/cache_entry_event_filter.h</a>&gt;</span></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><a class="code" href="namespaceignite.html">ignite</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; <span class="keyword">namespace </span>cache</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; {</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="comment">// Forward-declaration.</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</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="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keyword">class </span>IGNITE_IMPORT_EXPORT Cache;</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="namespaceignite_1_1cache_1_1query.html"> 39</a></span>&#160; <span class="keyword">namespace </span>query</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; {</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespaceignite_1_1cache_1_1query_1_1continuous.html"> 41</a></span>&#160; <span class="keyword">namespace </span>continuous</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</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="l00058"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html"> 58</a></span>&#160; <span class="keyword">class </span><a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">ContinuousQuery</a></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; {</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classignite_1_1cache_1_1Cache.html">Cache</a>&lt;K, V&gt;;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">enum</span> { DEFAULT_BUFFER_SIZE = 1 };</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">enum</span> { DEFAULT_TIME_INTERVAL = 0 };</div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aaf1d6a4d053cefd163bdfa034374473f"> 76</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aaf1d6a4d053cefd163bdfa034374473f">~ContinuousQuery</a>()</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; {</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="comment">// No-op.</span></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;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#abe45cb17c5dc2754d064ff92cde29db4"> 87</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#abe45cb17c5dc2754d064ff92cde29db4">ContinuousQuery</a>(<a class="code" href="classignite_1_1Reference.html">Reference</a>&lt;<a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a> &gt; lsnr) :</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; impl(new impl::cache::query::continuous::ContinuousQueryImpl&lt;K, V&gt;(lsnr, false))</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; {</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; }</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aff44341b171e303d2cfe302498037519"> 100</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aff44341b171e303d2cfe302498037519">ContinuousQuery</a>(<a class="code" href="classignite_1_1Reference.html">Reference</a>&lt;<a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a> &gt; lsnr, <span class="keywordtype">bool</span> loc) :</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; impl(new impl::cache::query::continuous::ContinuousQueryImpl&lt;K, V&gt;(lsnr, loc))</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; {</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; }</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> F&gt;</div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a26c51c268827890cecb1cbee1f917c67"> 114</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a26c51c268827890cecb1cbee1f917c67">ContinuousQuery</a>(<a class="code" href="classignite_1_1Reference.html">Reference</a>&lt;<a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a> &gt; lsnr,</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keyword">const</span> <a class="code" href="classignite_1_1Reference.html">Reference&lt;F&gt;</a>&amp; remoteFilter) :</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; impl(new impl::cache::query::continuous::ContinuousQueryImpl&lt;K, V&gt;(lsnr, false, remoteFilter))</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; <span class="comment">// No-op.</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; }</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keyword">template</span>&lt;<span class="keyword">typename</span> F&gt;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a96f3773844787f170bbf8871bf408e73"> 130</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a96f3773844787f170bbf8871bf408e73">ContinuousQuery</a>(<a class="code" href="classignite_1_1Reference.html">Reference</a>&lt;<a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a> &gt; lsnr,</div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; <span class="keyword">const</span> <a class="code" href="classignite_1_1Reference.html">Reference&lt;F&gt;</a>&amp; remoteFilter, <span class="keywordtype">bool</span> loc) :</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; impl(new impl::cache::query::continuous::ContinuousQueryImpl&lt;K, V&gt;(lsnr, loc, remoteFilter))</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; {</div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">// No-op.</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; }</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aef8dbf5f7809d8104963fb50aa7db40c"> 144</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aef8dbf5f7809d8104963fb50aa7db40c">SetLocal</a>(<span class="keywordtype">bool</span> val)</div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; {</div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; impl.Get()-&gt;SetLocal(val);</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; }</div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#af282b8ecaf12576bcd2950da48a2ff71"> 156</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#af282b8ecaf12576bcd2950da48a2ff71">GetLocal</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordflow">return</span> impl.Get()-&gt;GetLocal();</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; }</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a755b5cf8a7ea00e0b19c37b6b589efc3"> 171</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a755b5cf8a7ea00e0b19c37b6b589efc3">SetBufferSize</a>(int32_t val)</div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; {</div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; impl.Get()-&gt;SetBufferSize(val);</div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; }</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160;</div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#ac5ad35a200d405b48f6a52548539dc42"> 186</a></span>&#160; int32_t <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#ac5ad35a200d405b48f6a52548539dc42">GetBufferSize</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordflow">return</span> impl.Get()-&gt;GetBufferSize();</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; }</div><div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;</div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a6abb33c89aab001f5035ea913c200fdb"> 206</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a6abb33c89aab001f5035ea913c200fdb">SetTimeInterval</a>(int64_t val)</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; {</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; impl.Get()-&gt;SetTimeInterval(val);</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; }</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;</div><div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a37d1bd41cb17c2d9ac9f448c7c09abc8"> 226</a></span>&#160; int64_t <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a37d1bd41cb17c2d9ac9f448c7c09abc8">GetTimeInterval</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="keywordflow">return</span> impl.Get()-&gt;GetTimeInterval();</div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160; }</div><div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a88f43a94603ad2b6a0bb39cff88eaded"> 238</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a88f43a94603ad2b6a0bb39cff88eaded">SetListener</a>(<a class="code" href="classignite_1_1Reference.html">Reference</a>&lt;<a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a> &gt; lsnr)</div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; {</div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160; impl.Get()-&gt;SetListener(lsnr);</div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160; }</div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a40173ff8ccd51405ad652123f17302ef"> 248</a></span>&#160; <span class="keyword">const</span> <a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a>&amp; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a40173ff8ccd51405ad652123f17302ef">GetListener</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="keyword"> </span>{</div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160; <span class="keywordflow">return</span> impl.Get()-&gt;GetListener();</div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160; }</div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;</div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#acd0367fd5ed691d9b19f19fddc04a762"> 258</a></span>&#160; <a class="code" href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">event::CacheEntryEventListener&lt;K, V&gt;</a>&amp; <a class="code" href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#acd0367fd5ed691d9b19f19fddc04a762">GetListener</a>()</div><div class="line"><a name="l00259"></a><span class="lineno"> 259</span>&#160; {</div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span>&#160; <span class="keywordflow">return</span> impl.Get()-&gt;GetListener();</div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160; }</div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;</div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160; common::concurrent::SharedPointer&lt;impl::cache::query::continuous::ContinuousQueryImpl&lt;K, V&gt; &gt; impl;</div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160; };</div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160; }</div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160; }</div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160; }</div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;}</div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;</div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor">#endif //_IGNITE_CACHE_QUERY_CONTINUOUS_CONTINUOUS_QUERY</span></div><div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a96f3773844787f170bbf8871bf408e73"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a96f3773844787f170bbf8871bf408e73">ignite::cache::query::continuous::ContinuousQuery::ContinuousQuery</a></div><div class="ttdeci">ContinuousQuery(Reference&lt; event::CacheEntryEventListener&lt; K, V &gt; &gt; lsnr, const Reference&lt; F &gt; &amp;remoteFilter, bool loc)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:130</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_aaf1d6a4d053cefd163bdfa034374473f"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aaf1d6a4d053cefd163bdfa034374473f">ignite::cache::query::continuous::ContinuousQuery::~ContinuousQuery</a></div><div class="ttdeci">~ContinuousQuery()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:76</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_ac5ad35a200d405b48f6a52548539dc42"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#ac5ad35a200d405b48f6a52548539dc42">ignite::cache::query::continuous::ContinuousQuery::GetBufferSize</a></div><div class="ttdeci">int32_t GetBufferSize() const </div><div class="ttdoc">Get buffer size. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:186</div></div>
<div class="ttc" id="classignite_1_1cache_1_1Cache_html"><div class="ttname"><a href="classignite_1_1cache_1_1Cache.html">ignite::cache::Cache</a></div><div class="ttdoc">Main entry point for all Data Grid APIs. </div><div class="ttdef"><b>Definition:</b> cache.h:68</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html">ignite::cache::query::continuous::ContinuousQuery</a></div><div class="ttdoc">Continuous query. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:58</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a755b5cf8a7ea00e0b19c37b6b589efc3"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a755b5cf8a7ea00e0b19c37b6b589efc3">ignite::cache::query::continuous::ContinuousQuery::SetBufferSize</a></div><div class="ttdeci">void SetBufferSize(int32_t val)</div><div class="ttdoc">Set buffer size. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:171</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a26c51c268827890cecb1cbee1f917c67"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a26c51c268827890cecb1cbee1f917c67">ignite::cache::query::continuous::ContinuousQuery::ContinuousQuery</a></div><div class="ttdeci">ContinuousQuery(Reference&lt; event::CacheEntryEventListener&lt; K, V &gt; &gt; lsnr, const Reference&lt; F &gt; &amp;remoteFilter)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:114</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_aef8dbf5f7809d8104963fb50aa7db40c"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aef8dbf5f7809d8104963fb50aa7db40c">ignite::cache::query::continuous::ContinuousQuery::SetLocal</a></div><div class="ttdeci">void SetLocal(bool val)</div><div class="ttdoc">Set local flag. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:144</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_acd0367fd5ed691d9b19f19fddc04a762"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#acd0367fd5ed691d9b19f19fddc04a762">ignite::cache::query::continuous::ContinuousQuery::GetListener</a></div><div class="ttdeci">event::CacheEntryEventListener&lt; K, V &gt; &amp; GetListener()</div><div class="ttdoc">Get cache entry event listener. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:258</div></div>
<div class="ttc" id="cache__entry__event__listener_8h_html"><div class="ttname"><a href="cache__entry__event__listener_8h.html">cache_entry_event_listener.h</a></div><div class="ttdoc">Declares ignite::cache::event::CacheEntryEventListener class. </div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_aff44341b171e303d2cfe302498037519"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#aff44341b171e303d2cfe302498037519">ignite::cache::query::continuous::ContinuousQuery::ContinuousQuery</a></div><div class="ttdeci">ContinuousQuery(Reference&lt; event::CacheEntryEventListener&lt; K, V &gt; &gt; lsnr, bool loc)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:100</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a37d1bd41cb17c2d9ac9f448c7c09abc8"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a37d1bd41cb17c2d9ac9f448c7c09abc8">ignite::cache::query::continuous::ContinuousQuery::GetTimeInterval</a></div><div class="ttdeci">int64_t GetTimeInterval() const </div><div class="ttdoc">Get time interval. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:226</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_af282b8ecaf12576bcd2950da48a2ff71"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#af282b8ecaf12576bcd2950da48a2ff71">ignite::cache::query::continuous::ContinuousQuery::GetLocal</a></div><div class="ttdeci">bool GetLocal() const </div><div class="ttdoc">Get local flag. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:156</div></div>
<div class="ttc" id="classignite_1_1Reference_html"><div class="ttname"><a href="classignite_1_1Reference.html">ignite::Reference</a></div><div class="ttdoc">Reference class. </div><div class="ttdef"><b>Definition:</b> reference.h:35</div></div>
<div class="ttc" id="cache__entry__event__filter_8h_html"><div class="ttname"><a href="cache__entry__event__filter_8h.html">cache_entry_event_filter.h</a></div><div class="ttdoc">Declares ignite::cache::event::CacheEntryEventFilter class. </div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a6abb33c89aab001f5035ea913c200fdb"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a6abb33c89aab001f5035ea913c200fdb">ignite::cache::query::continuous::ContinuousQuery::SetTimeInterval</a></div><div class="ttdeci">void SetTimeInterval(int64_t val)</div><div class="ttdoc">Set time interval. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:206</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_a40173ff8ccd51405ad652123f17302ef"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a40173ff8ccd51405ad652123f17302ef">ignite::cache::query::continuous::ContinuousQuery::GetListener</a></div><div class="ttdeci">const event::CacheEntryEventListener&lt; K, V &gt; &amp; GetListener() const </div><div class="ttdoc">Get cache entry event listener. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:248</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_1query_1_1continuous_1_1ContinuousQuery_html_a88f43a94603ad2b6a0bb39cff88eaded"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#a88f43a94603ad2b6a0bb39cff88eaded">ignite::cache::query::continuous::ContinuousQuery::SetListener</a></div><div class="ttdeci">void SetListener(Reference&lt; event::CacheEntryEventListener&lt; K, V &gt; &gt; lsnr)</div><div class="ttdoc">Set cache entry event listener. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:238</div></div>
<div class="ttc" id="classignite_1_1cache_1_1event_1_1CacheEntryEventListener_html"><div class="ttname"><a href="classignite_1_1cache_1_1event_1_1CacheEntryEventListener.html">ignite::cache::event::CacheEntryEventListener</a></div><div class="ttdoc">Cache entry event listener. </div><div class="ttdef"><b>Definition:</b> cache_entry_event_listener.h:40</div></div>
<div class="ttc" id="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery_html_abe45cb17c5dc2754d064ff92cde29db4"><div class="ttname"><a href="classignite_1_1cache_1_1query_1_1continuous_1_1ContinuousQuery.html#abe45cb17c5dc2754d064ff92cde29db4">ignite::cache::query::continuous::ContinuousQuery::ContinuousQuery</a></div><div class="ttdeci">ContinuousQuery(Reference&lt; event::CacheEntryEventListener&lt; K, V &gt; &gt; lsnr)</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> continuous_query.h:87</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 5 2018 10:33:58 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>