suparnatural-cache / com.suparnatural.core.cache / InMemoryCache / removeObject

removeObject

fun <T : Cacheable> removeObject(obj: CacheableContainer): <ERROR CLASS><T?, Boolean>

Removes the item from persistent stores. Assumes that lock is already obtained.

Parameters

T - the type of object being removed.