blob: f6bf1d726a63338d9f4df79f3dac58fc6ad2950c [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::CacheStatistics Class 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('a00546.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="#properties">Properties</a> </div>
<div class="headertitle">
<div class="title">Apache::Geode::Client::CacheStatistics Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Defines common statistical information for both the region and its entries.
<a href="a00546.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a96ebbc337b95fd3760e038e91ab74849"><td class="memItemLeft" align="right" valign="top">System::DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00546.html#a96ebbc337b95fd3760e038e91ab74849">LastAccessedTime</a><code> [get]</code></td></tr>
<tr class="memdesc:a96ebbc337b95fd3760e038e91ab74849"><td class="mdescLeft">&#160;</td><td class="mdescRight">For an entry, returns the last time it was accessed via <code>Region.Get</code>. <a href="#a96ebbc337b95fd3760e038e91ab74849">More...</a><br /></td></tr>
<tr class="separator:a96ebbc337b95fd3760e038e91ab74849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba28f374153f91dca22feb868d9f7642"><td class="memItemLeft" align="right" valign="top">System::DateTime&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00546.html#aba28f374153f91dca22feb868d9f7642">LastModifiedTime</a><code> [get]</code></td></tr>
<tr class="memdesc:aba28f374153f91dca22feb868d9f7642"><td class="mdescLeft">&#160;</td><td class="mdescRight">For an entry, returns the time that the entry's value was last modified. <a href="#aba28f374153f91dca22feb868d9f7642">More...</a><br /></td></tr>
<tr class="separator:aba28f374153f91dca22feb868d9f7642"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Defines common statistical information for both the region and its entries. </p>
<p>All of these methods may throw a <code><a class="el" href="a00666.html" title="Thrown when an operation is attempted on a closed cache.">CacheClosedException</a></code>, <code><a class="el" href="a00678.html" title="Thrown when an operation is attempted on a destroyed region.">RegionDestroyedException</a></code>, or <code><a class="el" href="a00682.html" title="Thrown when an operation is attempted on a destroyed entry.">EntryDestroyedException</a></code>. </p>
<dl class="section see"><dt>See also</dt><dd>Region.Statistics, <a class="el" href="a01006.html#a04068863336b06037ac35f3ab291d815" title="Returns the statistics for this entry.">RegionEntry.Statistics</a></dd></dl>
</div><h2 class="groupheader">Property Documentation</h2>
<a id="a96ebbc337b95fd3760e038e91ab74849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96ebbc337b95fd3760e038e91ab74849">&#9670;&nbsp;</a></span>LastAccessedTime</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">System:: DateTime Apache::Geode::Client::CacheStatistics::LastAccessedTime</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>For an entry, returns the last time it was accessed via <code>Region.Get</code>. </p>
<p>For a region, returns the last time any of its entries or the entries of its subregions were accessed with <code>Region.Get</code>. </p>
<p>Any modifications will also update the <code>LastAccessedTime</code>, so <code>LastAccessedTime</code> is always greater than or equal to <code>LastModifiedTime</code>. The <code>LastAccessedTime</code> on a region is propagated upward to parent regions, transitively, to the the root region. </p>
<dl class="section return"><dt>Returns</dt><dd>the last access time of the region or the entry's value; </dd></dl>
<dl class="section see"><dt>See also</dt><dd>Region.Get, <a class="el" href="a00546.html#aba28f374153f91dca22feb868d9f7642" title="For an entry, returns the time that the entry&#39;s value was last modified.">LastModifiedTime</a></dd></dl>
</div>
</div>
<a id="aba28f374153f91dca22feb868d9f7642"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba28f374153f91dca22feb868d9f7642">&#9670;&nbsp;</a></span>LastModifiedTime</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">System:: DateTime Apache::Geode::Client::CacheStatistics::LastModifiedTime</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>For an entry, returns the time that the entry's value was last modified. </p>
<p>For a region, returns the last time any of the region's entries' values or the values in subregions' entries were modified. </p>
<p>The modification may have been initiated locally, or it may have been an update distributed from another cache. It may also have been a new value provided by a loader. The modification time on a region is propagated upward to parent regions, transitively, to the root region. </p>
<p>Entry and subregion creation will update the modification time on a region, but <code><a class="el" href="a00382.html#a30c72f6219e29e7305222feb4857caeca0e181f89f47654b86f3beb42f5cc08b8" title="When the region or cached object expires, it is destroyed.">Region.Destroy</a></code>, <code>Region.DestroyRegion</code>, <code><a class="el" href="a00382.html#a30c72f6219e29e7305222feb4857caeca85f5aa877be7431c42128b8112a4628e" title="When the region or cached object expires, it is invalidated.">Region.Invalidate</a></code>, and <code>Region.InvalidateRegion</code> do not update the modification time. </p>
<dl class="section return"><dt>Returns</dt><dd>the last modification time of the region or the entry; </dd></dl>
<dl class="section see"><dt>See also</dt><dd>Region.Put, Region.Get, Region.Create, Region.CreateSubRegion</dd></dl>
</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>