IEvictionStrategy Interface
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.
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 |