ShouldPurgeFromTime(TimeSpan, TimeSpan)
virtual
public virtual bool ShouldPurgeFromTime(TimeSpan timeInCache, TimeSpan relativeAge) Checks to see if the message should be purged. Message should be purged if its relative age is greater than
maxRelativeMessageAge and has been in the cache longer than the minTimeInCache. Parameters
timeInCacheTimeSpan- The amount of time message has been in this cache
relativeAgeTimeSpan- The age of message relative to the most recent events read
Returns
true if the message should be purged; otherwise false.