IEvictionStrategy<TCachedMessage> Interface

Definition

Eviction strategy for the PooledQueueCache

public interface IEvictionStrategy<TCachedMessage> where TCachedMessage : struct
type IEvictionStrategy<'CachedMessage (requires 'CachedMessage : struct)> = interface
Public Interface IEvictionStrategy(Of TCachedMessage)

Type Parameters

TCachedMessage
Derived

Properties

OnPurged

Method which will be called when purge is finished

PurgeObservable

IPurgeObservable is implemented by the cache to do purge related actions, and invoked by EvictionStrategy

Methods

OnBlockAllocated(FixedSizeBuffer)

Method which should be called when data adapter allocated a new block

PerformPurge(DateTime)

Method which should be called when pulling agent try to do a purge on the cache

Applies to