Edit

Share via


TimePurgePredicate Class

Definition

Determines if data should be purged based off time.

public class TimePurgePredicate
type TimePurgePredicate = class
Public Class TimePurgePredicate
Inheritance
TimePurgePredicate

Constructors

TimePurgePredicate(TimeSpan, TimeSpan)

Initializes a new instance of the TimePurgePredicate class.

Methods

ShouldPurgeFromTime(TimeSpan, TimeSpan)

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.

ShouldPurgFromTime(TimeSpan, TimeSpan)

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.

Applies to