Redigera

Dela via


TimePurgePredicate(TimeSpan, TimeSpan) Constructor

Definition

Initializes a new instance of the TimePurgePredicate class.

public TimePurgePredicate (TimeSpan minTimeInCache, TimeSpan maxRelativeMessageAge);
new Orleans.Providers.Streams.Common.TimePurgePredicate : TimeSpan * TimeSpan -> Orleans.Providers.Streams.Common.TimePurgePredicate
Public Sub New (minTimeInCache As TimeSpan, maxRelativeMessageAge As TimeSpan)

Parameters

minTimeInCache
TimeSpan

The minimum time data should be kept in cache, unless purged due to data size.

maxRelativeMessageAge
TimeSpan

The maximum age of data to keep in the cache.

Applies to