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

evictUnsafe

abstract fun evictUnsafe(): CacheableContainer?

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