ChronologicalEvictionStrategy 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 ChronologicalEvictionStrategy class.
public ChronologicalEvictionStrategy (Microsoft.Extensions.Logging.ILogger logger, Orleans.Providers.Streams.Common.TimePurgePredicate timePurage, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy : Microsoft.Extensions.Logging.ILogger * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy
Public Sub New (logger As ILogger, timePurage As TimePurgePredicate, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))
Parameters
- logger
- ILogger
The logger.
- timePurage
- TimePurgePredicate
The time-based purge predicate.
- cacheMonitor
- ICacheMonitor
The cache monitor.
"Interval to write periodic statistics. Only triggered for active caches.