EvictionStrategyCommonUtils.WireUpEvictionStrategy<TQueueMessage,TCachedMessage> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
参数
- cacheDataAdapter
- ICacheDataAdapter<TQueueMessage,TCachedMessage>
- evictionStrategy
- IEvictionStrategy<TCachedMessage>