AFDataCache.ResetCounters Method
- Last UpdatedSep 18, 2024
- PI System
- AF SDK 2024
- Developer
Reset AFDataCache statistic counters.
Namespace: OSIsoft.AF.Data
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156
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.