There isn’t. However, you can see how often the disks are churned (via 
metrics), which at least gives you an estimate of how long objects are staying 
in the cache. If the disks wraps once a week, objects are likely to stay in the 
cache for a week.

— Leif 

> On Apr 22, 2024, at 07:00, Pavel Vazharov <pa...@x3me.net> wrote:
> 
> 
> Hi there,
> 
> Is there a way to write a plugin which can receive notifications when objects 
> are removed from the cache (disk storage) during the moves of the "write 
> head"?
> I'm asking this because we have a need to track the lifetime of the objects 
> in the disk storage and "know" when a given object is no longer available in 
> the disk cache.
> 
> Regards,
> Pavel.

Reply via email to