Edytuj

Udostępnij za pośrednictwem


EvictionStrategyCommonUtils.WireUpEvictionStrategy<TQueueMessage,TCachedMessage> Method

Definition

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

Applies to