EvictionStrategyCommonUtils.WireUpEvictionStrategy<TQueueMessage,TCachedMessage> 方法

定义

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))

类型参数

TQueueMessage
TCachedMessage

参数

适用于