AFDataCache.CacheHitCount Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Returns the total number of data calls that retrieved data from the cache since the counter was reset.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public long CacheHitCount { get; }
Public ReadOnly Property CacheHitCount As Long Get Dim instance As AFDataCache Dim value As Long value = instance.CacheHitCount
public: property long long CacheHitCount { long long get (); }
member CacheHitCount : int64 with get
Property Value
Type: Int64Returns the total number of data calls that retrieved data from the cache since the counter was reset.
Remarks
This counter can be reset with the method ResetCounters