ICache.whenCacheItemDropped

Called when the oldest item is replaced in cache with a new one because cache is full. When the cache gets full, the oldest item will be replaced with the new value. Before that happens, this method will be called, having the item index passed as a argument.

class ICache
protected
void
whenCacheItemDropped
(
size_t index
)

Parameters

index size_t

index of the cache item that will be dropped.

Meta