Compartilhar via


ChronologicalEvictionStrategy Construtor

Definição

Inicializa uma nova instância da 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))

Parâmetros

logger
ILogger

O agente de log.

timePurage
TimePurgePredicate

O predicado de limpeza baseado em tempo.

cacheMonitor
ICacheMonitor

O monitor de cache.

monitorWriteInterval
Nullable<TimeSpan>

"Intervalo para gravar estatísticas periódicas. Disparado apenas para caches ativos.

Aplica-se a