ChronologicalEvictionStrategy<TCachedMessage> Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
"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
"Interval to write periodic statistics. Only triggered for active caches.