suparnatural-cache / com.suparnatural.core.cache / FifoCacheReplacementPolicy / evictUnsafe

evictUnsafe

fun evictUnsafe(): CacheableContainer?

Overrides CacheReplacementPolicy.evictUnsafe

Prune the cache by 1 entry. Returns the removed object. Call this method when cache runs out of space.