Broker Cache - Does the cache invalid the cache item every 5th retrieval call?

Hi,
Just a simple question. Does the local broker cache item become invalidated after the 4th access? How does the eviction process work?

Thanks in advance.

Michael

The eviction behavior depends on the implementation you use (local vs caffeine) check out the files MapCache and CaffeineCache for details. Neither of them evicts after a specific number of accesses though. It isn’t necessary to evict data early, since the segment id is part of the cache key, meaning the cache only references immutable data.

I found the problem. It doesnt have anything to do with Druid.

Thank you