Skip to content

IEvictionStrategy Methods

Eviction strategy for the PooledQueueCache

OnBlockAllocated(FixedSizeBuffer)

abstract
public abstract void OnBlockAllocated(FixedSizeBuffer newBlock)
Method which should be called when data adapter allocated a new block

Parameters

newBlockFixedSizeBuffer
The new block.

PerformPurge(DateTime)

abstract
public abstract void PerformPurge(DateTime utcNow)
Method which should be called when pulling agent try to do a purge on the cache

Parameters

utcNowDateTime
The current time (UTC)