Interface ICacheExpiring
Marks objects which are cache-based, and which may contain obsolete cached data.
[InternalApi_DoNotUse_MayChangeWithoutNotice("this is just fyi")]
public interface ICacheExpiring : ITimestamped
- Inherited Members
Methods
CacheChanged(long)
Detect if the cache has newer data. It's called using the TimeStamp of the dependent object which may still have old data.
bool CacheChanged(long dependentTimeStamp)
Parameters
dependentTimeStamp
longNew time stamp of a dependent object, which could have an older timestamp.
Returns
- bool
True if the timestamps differ, false if it's the same
Remarks
This is implemented in each object, because sometimes it compares its own timestamp, sometimes that of another underlying object.