EvictionStrategyCommonUtils.WireUpEvictionStrategy<TQueueMessage,TCachedMessage> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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))
Type Parameters
- TQueueMessage
- TCachedMessage
Parameters
- cacheDataAdapter
- ICacheDataAdapter<TQueueMessage,TCachedMessage>
- evictionStrategy
- IEvictionStrategy<TCachedMessage>