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

registerObjectUnsafe

abstract fun registerObjectUnsafe(obj: CacheableContainer): CacheableContainer?

Adds a cache entry for the object and returns the entry of a pruned object. Pruning occurs when the cache space is full.