Condividi tramite


ChronologicalEvictionStrategy Costruttore

Definizione

Inizializza una nuova istanza della classe ChronologicalEvictionStrategy.

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))

Parametri

logger
ILogger

Logger.

timePurage
TimePurgePredicate

Predicato di eliminazione basato sul tempo.

cacheMonitor
ICacheMonitor

Monitoraggio della cache.

monitorWriteInterval
Nullable<TimeSpan>

"Intervallo per scrivere statistiche periodiche. Attivato solo per le cache attive.

Si applica a