Edit

Share via


IEvictionStrategy Interface

Definition

Eviction strategy for the PooledQueueCache

public interface IEvictionStrategy
type IEvictionStrategy = interface
Public Interface IEvictionStrategy
Derived

Properties

OnPurged

Gets or sets the method which will be called when purge is finished.

PurgeObservable

Gets the IPurgeObservable, which is implemented by the cache to do purge related actions and invoked by the eviction strategy.

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