AFDataCache.ResetCounters Method
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
Reset AFDataCache statistic counters.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
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.