AFDataCache.ResetCounters Method
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Reset AFDataCache statistic counters.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void ResetCounters()
Public Sub ResetCounters Dim instance As AFDataCache instance.ResetCounters()
public: void ResetCounters()
member ResetCounters : unit -> unit
Remarks
Several counters associated with cache hits and events processed are tracked within the data cache.
This method is used to reset these counters, which include
EventsProcessed, CacheHitCount and MissedHitCount.