Skip to content

TimePurgePredicate Constructors

Determines if data should be purged based off time.

TimePurgePredicate(TimeSpan, TimeSpan)

View source
public TimePurgePredicate(TimeSpan minTimeInCache, TimeSpan maxRelativeMessageAge)
Initializes a new instance of the TimePurgePredicate class.

Parameters

minTimeInCacheTimeSpan
The minimum time data should be kept in cache, unless purged due to data size.
maxRelativeMessageAgeTimeSpan
The maximum age of data to keep in the cache.