Note: This API is now obsolete.
Defines common statistical information for both the region and its entries.
Inheritance HierarchySystemObject [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CacheStatistics>] GemStone.GemFire.CacheCacheStatistics
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class CacheStatistics : [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CacheStatistics>]
<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>
Public NotInheritable Class CacheStatistics
Inherits [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CacheStatistics>]
[ObsoleteAttribute(L"Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public ref class CacheStatistics sealed : public [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CacheStatistics>]
[<SealedAttribute>]
[<ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")>]
type CacheStatistics =
class
inherit [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CacheStatistics>]
end
The CacheStatistics type exposes the following members.
Properties
| Name | Description |
---|
 | LastAccessedTime |
For an entry, returns the last time it was accessed via Region.Get.
For a region, returns the last time any of its entries or the entries of
its subregions were accessed with Region.Get.
|
 | LastModifiedTime |
For an entry, returns the time that the entry's value was last modified.
For a region, returns the last time any of the region's entries' values or
the values in subregions' entries were modified.
|
Top
Methods
| Name | Description |
---|
 | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
All of these methods may throw a CacheClosedException,
RegionDestroyedException, or EntryDestroyedException.
See AlsoReference
[!:Region.Statistics]
[!:RegionEntry.Statistics]