Edytuj

Udostępnij za pośrednictwem


PooledQueueCache<TQueueMessage,TCachedMessage> Constructors

Definition

Overloads

PooledQueueCache<TQueueMessage,TCachedMessage>(ICacheDataAdapter<TQueueMessage, TCachedMessage>, ICacheDataComparer<TCachedMessage>, ILogger, ICacheMonitor, Nullable<TimeSpan>)

Pooled queue cache is a cache of message that obtains resource from a pool

PooledQueueCache<TQueueMessage,TCachedMessage>(ICacheDataAdapter<TQueueMessage, TCachedMessage>, ICacheDataComparer<TCachedMessage>, Logger, ICacheMonitor, Nullable<TimeSpan>)

Pooled queue cache is a cache of message that obtains resource from a pool

PooledQueueCache<TQueueMessage,TCachedMessage>(ICacheDataAdapter<TQueueMessage, TCachedMessage>, ICacheDataComparer<TCachedMessage>, ILogger, ICacheMonitor, Nullable<TimeSpan>)

Pooled queue cache is a cache of message that obtains resource from a pool

public PooledQueueCache (Orleans.Providers.Streams.Common.ICacheDataAdapter<TQueueMessage,TCachedMessage> cacheDataAdapter, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer, Microsoft.Extensions.Logging.ILogger logger, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? cacheMonitorWriteInterval);
new Orleans.Providers.Streams.Common.PooledQueueCache<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> : Orleans.Providers.Streams.Common.ICacheDataAdapter<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> * Microsoft.Extensions.Logging.ILogger * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.PooledQueueCache<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)>
Public Sub New (cacheDataAdapter As ICacheDataAdapter(Of TQueueMessage, TCachedMessage), comparer As ICacheDataComparer(Of TCachedMessage), logger As ILogger, cacheMonitor As ICacheMonitor, cacheMonitorWriteInterval As Nullable(Of TimeSpan))

Parameters

logger
ILogger
cacheMonitor
ICacheMonitor
cacheMonitorWriteInterval
Nullable<TimeSpan>

cache monitor write interval. Only triggered for active caches.

Applies to

PooledQueueCache<TQueueMessage,TCachedMessage>(ICacheDataAdapter<TQueueMessage, TCachedMessage>, ICacheDataComparer<TCachedMessage>, Logger, ICacheMonitor, Nullable<TimeSpan>)

Pooled queue cache is a cache of message that obtains resource from a pool

public PooledQueueCache (Orleans.Providers.Streams.Common.ICacheDataAdapter<TQueueMessage,TCachedMessage> cacheDataAdapter, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer, Orleans.Runtime.Logger logger, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? cacheMonitorWriteInterval);
new Orleans.Providers.Streams.Common.PooledQueueCache<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> : Orleans.Providers.Streams.Common.ICacheDataAdapter<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> * Orleans.Runtime.Logger * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Common.PooledQueueCache<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)>
Public Sub New (cacheDataAdapter As ICacheDataAdapter(Of TQueueMessage, TCachedMessage), comparer As ICacheDataComparer(Of TCachedMessage), logger As Logger, cacheMonitor As ICacheMonitor, cacheMonitorWriteInterval As Nullable(Of TimeSpan))

Parameters

logger
Logger
cacheMonitor
ICacheMonitor
cacheMonitorWriteInterval
Nullable<TimeSpan>

cache monitor write interval. Only triggered for active caches.

Applies to