Partager via


PooledQueueCache<TQueueMessage,TCachedMessage> Constructeurs

Définition

Surcharges

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

Le cache de file d’attente mis en pool est un cache de message qui obtient une ressource à partir d’un pool

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

Le cache de file d’attente mis en pool est un cache de message qui obtient une ressource à partir d’un pool

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

Le cache de file d’attente mis en pool est un cache de message qui obtient une ressource à partir d’un 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))

Paramètres

logger
ILogger
cacheMonitor
ICacheMonitor
cacheMonitorWriteInterval
Nullable<TimeSpan>

intervalle d’écriture du moniteur de cache. Déclenchée uniquement pour les caches actifs.

S’applique à

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

Le cache de file d’attente mis en pool est un cache de message qui obtient une ressource à partir d’un 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))

Paramètres

logger
Logger
cacheMonitor
ICacheMonitor
cacheMonitorWriteInterval
Nullable<TimeSpan>

intervalle d’écriture du moniteur de cache. Déclenchée uniquement pour les caches actifs.

S’applique à