blob: b84a88e4e5e91231123b6d1ac844303d9d1760da [file] [log] [blame]
<!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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache Geode Native .NET Reference: Apache::Geode::Client::CacheListenerAdapter&lt; TKey, TValue &gt; Class Template Reference</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(initResizable);
/* @license-end */</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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Apache Geode Native .NET Reference
&#160;<span id="projectnumber">1.13.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;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&amp;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>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00542.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">Apache::Geode::Client::CacheListenerAdapter&lt; TKey, TValue &gt; Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Utility class that implements all methods in <code><a class="el" href="a00906.html" title="An application plug-in that can be installed on a region.">ICacheListener</a></code> with empty implementations.
<a href="a00542.html#details">More...</a></p>
<p>Inherits <a class="el" href="a00906.html">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad28bd3c28ac67fc35f4294c3b3165fbe"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#ad28bd3c28ac67fc35f4294c3b3165fbe">AfterCreate</a> (<a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:ad28bd3c28ac67fc35f4294c3b3165fbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of a new key being added to a region. <a href="#ad28bd3c28ac67fc35f4294c3b3165fbe">More...</a><br /></td></tr>
<tr class="separator:ad28bd3c28ac67fc35f4294c3b3165fbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9643635661645e89a27205fa34c5321"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#af9643635661645e89a27205fa34c5321">AfterDestroy</a> (<a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:af9643635661645e89a27205fa34c5321"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of an entry being destroyed. <a href="#af9643635661645e89a27205fa34c5321">More...</a><br /></td></tr>
<tr class="separator:af9643635661645e89a27205fa34c5321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07dcb99906b78f9b0a24955141bfb608"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#a07dcb99906b78f9b0a24955141bfb608">AfterInvalidate</a> (<a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:a07dcb99906b78f9b0a24955141bfb608"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of an entry's value being invalidated. <a href="#a07dcb99906b78f9b0a24955141bfb608">More...</a><br /></td></tr>
<tr class="separator:a07dcb99906b78f9b0a24955141bfb608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bc4071b935ed5b32eb16c366f17bfbb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#a6bc4071b935ed5b32eb16c366f17bfbb">AfterRegionClear</a> (<a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:a6bc4071b935ed5b32eb16c366f17bfbb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of a region being cleared. <a href="#a6bc4071b935ed5b32eb16c366f17bfbb">More...</a><br /></td></tr>
<tr class="separator:a6bc4071b935ed5b32eb16c366f17bfbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02a326d402649b53b9244877437b542b"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#a02a326d402649b53b9244877437b542b">AfterRegionDestroy</a> (<a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:a02a326d402649b53b9244877437b542b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of a region being destroyed. <a href="#a02a326d402649b53b9244877437b542b">More...</a><br /></td></tr>
<tr class="separator:a02a326d402649b53b9244877437b542b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbe8a34ed0f06ec6f274e80fbc0ab279"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#adbe8a34ed0f06ec6f274e80fbc0ab279">AfterRegionInvalidate</a> (<a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:adbe8a34ed0f06ec6f274e80fbc0ab279"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of a region being invalidated. <a href="#adbe8a34ed0f06ec6f274e80fbc0ab279">More...</a><br /></td></tr>
<tr class="separator:adbe8a34ed0f06ec6f274e80fbc0ab279"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb8e01be1d3a3f376f5dda60d77df63d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#abb8e01be1d3a3f376f5dda60d77df63d">AfterRegionLive</a> (<a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:abb8e01be1d3a3f376f5dda60d77df63d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of a region going live. <a href="#abb8e01be1d3a3f376f5dda60d77df63d">More...</a><br /></td></tr>
<tr class="separator:abb8e01be1d3a3f376f5dda60d77df63d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aa21e79f22cb1ba4a12543ef416f1b6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#a4aa21e79f22cb1ba4a12543ef416f1b6">AfterUpdate</a> (<a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^ ev)</td></tr>
<tr class="memdesc:a4aa21e79f22cb1ba4a12543ef416f1b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handles the event of an entry's value being modified in a region. <a href="#a4aa21e79f22cb1ba4a12543ef416f1b6">More...</a><br /></td></tr>
<tr class="separator:a4aa21e79f22cb1ba4a12543ef416f1b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e246169732bb24fbbc12491b2a00e27"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00542.html#a8e246169732bb24fbbc12491b2a00e27">Close</a> (<a class="el" href="a01014.html">Apache::Geode::Client::IRegion</a>&lt; TKey, TValue &gt;^ region)</td></tr>
<tr class="memdesc:a8e246169732bb24fbbc12491b2a00e27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called when the region containing this callback is destroyed, when the cache is closed. <a href="#a8e246169732bb24fbbc12491b2a00e27">More...</a><br /></td></tr>
<tr class="separator:a8e246169732bb24fbbc12491b2a00e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;class TKey, class TValue&gt;<br />
class Apache::Geode::Client::CacheListenerAdapter&lt; TKey, TValue &gt;</h3>
<p>Utility class that implements all methods in <code><a class="el" href="a00906.html" title="An application plug-in that can be installed on a region.">ICacheListener</a></code> with empty implementations. </p>
<p>Applications can subclass this class and only override the methods for the events of interest. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ad28bd3c28ac67fc35f4294c3b3165fbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad28bd3c28ac67fc35f4294c3b3165fbe">&#9670;&nbsp;</a></span>AfterCreate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterCreate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of a new key being added to a region. </p>
<p>The entry did not previously exist in this region in the local cache (even with a null value). </p>
<p>This function does not throw any exception. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td>Denotes the event object associated with the entry creation. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Region.Create, Region.Put, Region.Get</dd></dl>
<p>Implements <a class="el" href="a00906.html#a66b8b2af8d0de71e0b0c383c43bc6e49">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="af9643635661645e89a27205fa34c5321"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9643635661645e89a27205fa34c5321">&#9670;&nbsp;</a></span>AfterDestroy()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterDestroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of an entry being destroyed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a00618.html" title="This class encapsulates events that occur for an entry in a region.">EntryEvent</a> denotes the event object associated with the entry destruction. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00382.html#a30c72f6219e29e7305222feb4857caeca0e181f89f47654b86f3beb42f5cc08b8" title="When the region or cached object expires, it is destroyed.">Region.Destroy</a></dd></dl>
<p>Implements <a class="el" href="a00906.html#a5127c94ebd1650b787824ed6b6b1e3c6">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="a07dcb99906b78f9b0a24955141bfb608"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a07dcb99906b78f9b0a24955141bfb608">&#9670;&nbsp;</a></span>AfterInvalidate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterInvalidate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of an entry's value being invalidated. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a00618.html" title="This class encapsulates events that occur for an entry in a region.">EntryEvent</a> denotes the event object associated with the entry invalidation. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="a00906.html#a42304e13b21f18e5500e3777f08ecbea">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="a6bc4071b935ed5b32eb16c366f17bfbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bc4071b935ed5b32eb16c366f17bfbb">&#9670;&nbsp;</a></span>AfterRegionClear()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterRegionClear </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of a region being cleared. </p>
<p>Implements <a class="el" href="a00906.html#a543a98abcd3965b0d29974b317266700">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="a02a326d402649b53b9244877437b542b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02a326d402649b53b9244877437b542b">&#9670;&nbsp;</a></span>AfterRegionDestroy()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterRegionDestroy </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of a region being destroyed. </p>
<p>Events are not invoked for each individual entry that is destroyed as a result of the region being destroyed. Each subregion, however, gets its own <code>AfterRegionDestroyed</code> event invoked on its listener. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a01102.html" title="This class encapsulates events that occur for a region.">RegionEvent</a> denotes the event object associated with the region destruction. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Region.DestroyRegion</dd></dl>
<p>Implements <a class="el" href="a00906.html#ab5988b611f03aef237e92d366bd791ae">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="adbe8a34ed0f06ec6f274e80fbc0ab279"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbe8a34ed0f06ec6f274e80fbc0ab279">&#9670;&nbsp;</a></span>AfterRegionInvalidate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterRegionInvalidate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of a region being invalidated. </p>
<p>Events are not invoked for each individual value that is invalidated as a result of the region being invalidated. Each subregion, however, gets its own <code>RegionInvalidated</code> event invoked on its listener. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a01102.html" title="This class encapsulates events that occur for a region.">RegionEvent</a> denotes the event object associated with the region invalidation. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Region.InvalidateRegion</dd></dl>
<p>Implements <a class="el" href="a00906.html#a8ba27d0c806e945b2150a3b1c4a95896">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="abb8e01be1d3a3f376f5dda60d77df63d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb8e01be1d3a3f376f5dda60d77df63d">&#9670;&nbsp;</a></span>AfterRegionLive()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterRegionLive </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a01102.html">RegionEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of a region going live. </p>
<p>Each subregion gets its own <code>AfterRegionLive</code> event invoked on its listener. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a01102.html" title="This class encapsulates events that occur for a region.">RegionEvent</a> denotes the event object associated with the region going live. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00410.html#a99f4b2f798431a0de0e7032657fc602e" title="Send the client-ready message to the server for a durable client.">Cache.ReadyForEvents</a></dd></dl>
<p>Implements <a class="el" href="a00906.html#a4dcd2b8025a2b216695961450c6a4eda">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="a4aa21e79f22cb1ba4a12543ef416f1b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4aa21e79f22cb1ba4a12543ef416f1b6">&#9670;&nbsp;</a></span>AfterUpdate()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::AfterUpdate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a00618.html">EntryEvent</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>ev</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Handles the event of an entry's value being modified in a region. </p>
<p>This entry previously existed in this region in the local cache, but its previous value may have been null. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">ev</td><td><a class="el" href="a00618.html" title="This class encapsulates events that occur for an entry in a region.">EntryEvent</a> denotes the event object associated with updating the entry. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>Region.Put</dd></dl>
<p>Implements <a class="el" href="a00906.html#ad7c056df7e9f51bbbe847f798b209a6b">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
<a id="a8e246169732bb24fbbc12491b2a00e27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e246169732bb24fbbc12491b2a00e27">&#9670;&nbsp;</a></span>Close()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class TKey , class TValue &gt; </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="a00542.html">Apache::Geode::Client::CacheListenerAdapter</a>&lt; TKey, TValue &gt;::Close </td>
<td>(</td>
<td class="paramtype"><a class="el" href="a01014.html">Apache::Geode::Client::IRegion</a>&lt; TKey, TValue &gt;^&#160;</td>
<td class="paramname"><em>region</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called when the region containing this callback is destroyed, when the cache is closed. </p>
<p>Implementations should clean up any external resources, such as database connections. Any runtime exceptions this method throws will be logged. </p>
<p>It is possible for this method to be called multiple times on a single callback instance, so implementations must be tolerant of this. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a00410.html#ae4914b5a4b36ff81a81a91db5225019b" title="Terminates this object cache and releases all the local resources.">Cache.Close</a>, Region.DestroyRegion</dd></dl>
<p>summary&gt; Called when all the endpoints associated with region are down. This will be called when all the endpoints are down for the first time. If endpoints come up and again go down it will be called again. This will also be called when all endpoints are down and region is attached to the pool. /summary&gt; remarks&gt; /remark&gt; param&gt; region Region^ denotes the assosiated region. /param&gt; </p>
<p>Implements <a class="el" href="a00906.html#a5cb0980b49fccd25bfda19e85f08a014">Apache::Geode::Client::ICacheListener&lt; TKey, TValue &gt;</a>.</p>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<HR><address style="align: right;"><small>Apache Geode C++ Cache .NET API Documentation</small></address>