Compartir a través de


ChronologicalEvictionStrategy Constructor

Definición

Inicializa una nueva instancia de la clase 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))

Parámetros

logger
ILogger

El registrador.

timePurage
TimePurgePredicate

Predicado de purga basado en tiempo.

cacheMonitor
ICacheMonitor

Monitor de caché.

monitorWriteInterval
Nullable<TimeSpan>

"Intervalo para escribir estadísticas periódicas. Solo se desencadena para cachés activas.

Se aplica a