Edit

Share via


ChronologicalEvictionStrategy Constructor

Definition

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.

monitorWriteInterval
Nullable<TimeSpan>

"Interval to write periodic statistics. Only triggered for active caches.

Applies to