EvictionStrategyCommonUtils.WireUpEvictionStrategy<TQueueMessage,TCachedMessage> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public static void WireUpEvictionStrategy<TQueueMessage,TCachedMessage> (Orleans.Providers.Streams.Common.PooledQueueCache<TQueueMessage,TCachedMessage> cache, Orleans.Providers.Streams.Common.ICacheDataAdapter<TQueueMessage,TCachedMessage> cacheDataAdapter, Orleans.Providers.Streams.Common.IEvictionStrategy<TCachedMessage> evictionStrategy) where TCachedMessage : struct;
static member WireUpEvictionStrategy : Orleans.Providers.Streams.Common.PooledQueueCache<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> * Orleans.Providers.Streams.Common.ICacheDataAdapter<'QueueMessage, 'CachedMessage (requires 'CachedMessage : struct)> * Orleans.Providers.Streams.Common.IEvictionStrategy<'CachedMessage (requires 'CachedMessage : struct)> -> unit (requires 'CachedMessage : struct)
Public Shared Sub WireUpEvictionStrategy(Of TQueueMessage, TCachedMessage) (cache As PooledQueueCache(Of TQueueMessage, TCachedMessage), cacheDataAdapter As ICacheDataAdapter(Of TQueueMessage, TCachedMessage), evictionStrategy As IEvictionStrategy(Of TCachedMessage))
Paramètres de type
- TQueueMessage
- TCachedMessage
Paramètres
- cacheDataAdapter
- ICacheDataAdapter<TQueueMessage,TCachedMessage>
- evictionStrategy
- IEvictionStrategy<TCachedMessage>