AFDataCache Properties
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFDataCache type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Attributes |
The list of AFAttribute items being cached.c
| |
| CacheHitCount |
Returns the total number of data calls that retrieved data from the cache since the counter was reset.
| |
| CacheTimeSpan |
The minimum amount of time series data to be kept for each AFAttribute in the cache, as measured by time span.
| |
| DataPipeStatistics |
Contains statistics for the most recent signup or event scan for attributes updated by data pipe.
| |
| EventHorizonMode |
EventHorizonMode specifies what events are returned by the datapipe at the GetUpdateEvent call based on the timestamp of the events.
| |
| EventHorizonOffset |
EventHorizonOffset allows the pipe to return events in the future. The pipe would fetch events with timestamps
up to current time + EventHorizonOffset when calling the GetUpdateEvents/GetObserverEvents methods
| |
| EventsCached |
The total number of events currently in the cache.
| |
| EventsProcessed |
The total number of events that have passed through the cache since the counter was reset.
| |
| IsSuspendedSignupEnabled |
If IsSuspendedSignupEnabled is set, the data pipe will suspend signups that are currently invalid but might become valid with changes outside of AF.
| |
| MaxCacheEventsPerAttribute |
The maximum number of cache events to be kept for each AFAttribute in the cache.
| |
| MinCacheEventsPerAttribute |
The minimum number of cache events to be kept for each AFAttribute in the cache.
| |
| MissedHitCount |
The total number of data calls that did not get data from the cache.
| |
| PIServers |
See Also
In This Topic
Related Links
- Attributes Property
- CacheHitCount Property
- CacheTimeSpan Property
- DataPipeStatistics Property
- EventHorizonMode Property
- EventHorizonOffset Property
- EventsCached Property
- EventsProcessed Property
- IsSuspendedSignupEnabled Property
- MaxCacheEventsPerAttribute Property
- MinCacheEventsPerAttribute Property
- MissedHitCount Property
- PIServers Property