AFDataCache.CacheHitCount Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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