Edit

Share via


ChronologicalEvictionStrategy<TCachedMessage> Constructors

Definition

Overloads

ChronologicalEvictionStrategy<TCachedMessage>(ILogger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

Constructor

ChronologicalEvictionStrategy<TCachedMessage>(Logger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

Constructor

ChronologicalEvictionStrategy<TCachedMessage>(ILogger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

Constructor

protected 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<'CachedMessage (requires 'CachedMessage : struct)> : Microsoft.Extensions.Logging.ILogger * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy<'CachedMessage (requires 'CachedMessage : struct)>
Protected Sub New (logger As ILogger, timePurage As TimePurgePredicate, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

Parameters

logger
ILogger
timePurage
TimePurgePredicate
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

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

Applies to

ChronologicalEvictionStrategy<TCachedMessage>(Logger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

Constructor

protected ChronologicalEvictionStrategy (Orleans.Runtime.Logger logger, Orleans.Providers.Streams.Common.TimePurgePredicate timePurage, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy<'CachedMessage (requires 'CachedMessage : struct)> : Orleans.Runtime.Logger * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy<'CachedMessage (requires 'CachedMessage : struct)>
Protected Sub New (logger As Logger, timePurage As TimePurgePredicate, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

Parameters

logger
Logger
timePurage
TimePurgePredicate
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

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

Applies to