IEvictionStrategy<TCachedMessage> 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<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 |