TimePurgePredicate(TimeSpan, TimeSpan) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.